/* ============================================
   DESERT FOX Company For Contracting
   Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@300;400;500;600;700&family=Bebas+Neue&display=swap');

:root {
  /* Brand palette — desert + premium */
  --sand-50:  #FBF6EE;
  --sand-100: #F4EAD5;
  --sand-200: #E5D3B3;
  --sand-300: #C9A66B;
  --rust:     #B8531A;
  --rust-dark:#8C3A0F;
  --earth:    #4A3520;
  --ink:      #1C1410;
  --gold:     #C9A35F;
  --gold-soft:#E0C087;
  --white:    #FFFFFF;

  /* Type */
  --font-display: 'Bebas Neue', sans-serif;
  --font-serif:   'Cormorant Garamond', serif;
  --font-body:    'Inter', sans-serif;

  /* Layout */
  --max-w: 1240px;
  --pad:   clamp(1rem, 4vw, 2.5rem);
  --radius: 4px;
  --shadow: 0 20px 60px rgba(28, 20, 16, .15);
  --shadow-sm: 0 6px 24px rgba(28, 20, 16, .08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand-50);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ----------- Top bar ----------- */
.topbar {
  background: var(--ink);
  color: var(--sand-100);
  font-size: .85rem;
  padding: .55rem 0;
  border-bottom: 1px solid rgba(201, 163, 95, .2);
}
.topbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar-info { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: .4rem; }
.topbar-info svg { width: 14px; height: 14px; color: var(--gold); }
.socials { display: flex; gap: .8rem; }
.socials a { opacity: .8; transition: opacity .2s, color .2s; }
.socials a:hover { opacity: 1; color: var(--gold); }
.socials svg { width: 16px; height: 16px; }

/* ----------- Header ----------- */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(201,163,95,.18);
}
.nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.brand-mark {
  width: 54px; height: 54px;
  flex-shrink: 0;
}
.brand-text { line-height: 1.05; }
.brand-text .b1 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: .12em;
  color: var(--rust);
}
.brand-text .b2 {
  font-family: var(--font-body);
  font-size: .68rem;
  letter-spacing: .25em;
  color: var(--earth);
  text-transform: uppercase;
  font-weight: 500;
}

.menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.menu a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--earth);
  position: relative;
  padding: .25rem 0;
  transition: color .2s;
}
.menu a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--rust);
  transition: width .3s;
}
.menu a:hover, .menu a.active { color: var(--rust); }
.menu a:hover::after, .menu a.active::after { width: 100%; }

/* Language switch pill */
.lang-btn {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--earth);
  border: 1.5px solid var(--sand-200);
  padding: .32rem .85rem;
  border-radius: 100px;
  transition: all .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.lang-btn:hover {
  color: var(--rust);
  border-color: var(--rust);
  background: rgba(184,83,26,.06);
}

/* Get a Quote CTA — override generic .menu a styles */
.menu a.btn { padding: .7rem 1.5rem; }
.menu a.btn::after { display: none; }
.menu a.btn-primary {
  color: var(--white);
  background: var(--rust);
}
.menu a.btn-primary:hover {
  color: var(--white);
  background: var(--rust-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(184,83,26,.35);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.6rem;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: all .25s;
  border-radius: var(--radius);
  cursor: pointer;
}
.btn-primary {
  background: var(--rust);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--rust-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(184, 83, 26, .35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--ink);
}
.btn-ghost {
  background: transparent;
  color: var(--earth);
  border: 2px solid var(--earth);
}
.btn-ghost:hover { background: var(--earth); color: var(--white); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
}
.menu-toggle span {
  width: 26px; height: 2px;
  background: var(--ink);
  transition: all .3s;
}

/* ----------- Hero ----------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: linear-gradient(135deg, #1C1410 0%, #4A3520 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .35;
  z-index: 1;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(28,20,16,.95) 0%, rgba(28,20,16,.7) 50%, rgba(74,53,32,.4) 100%);
  z-index: 2;
}
.hero-inner {
  position: relative;
  z-index: 3;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--pad);
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-family: var(--font-body);
  font-size: .8rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.hero-eyebrow::before {
  content: ''; width: 40px; height: 1px; background: var(--gold);
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  max-width: 900px;
  letter-spacing: -.01em;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}
.hero p {
  font-size: 1.15rem;
  max-width: 600px;
  color: var(--sand-100);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  z-index: 3;
  background: rgba(28,20,16,.85);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(201,163,95,.25);
}
.hero-stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.hero-stats .stat {
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
}
.hero-stats .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  letter-spacing: .05em;
  line-height: 1;
}
.hero-stats .stat span {
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--sand-100);
}

/* ----------- Sections ----------- */
section { padding: 6rem 0; position: relative; }
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}
.section-head.left { text-align: left; margin-left: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .8rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 600;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ''; width: 30px; height: 1px; background: var(--rust);
}
.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1rem;
}
.section-head h2 em { color: var(--rust); font-style: italic; }
.section-head p {
  font-size: 1.05rem;
  color: var(--earth);
  opacity: .85;
}

/* ----------- About ----------- */
.about {
  background: var(--sand-50);
  position: relative;
}
.about::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: var(--sand-100);
  z-index: 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.about-image {
  position: relative;
  height: 540px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-image .img1 {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.about-image .badge {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: var(--rust);
  color: var(--white);
  padding: 1.5rem 2rem;
  font-family: var(--font-display);
  letter-spacing: .08em;
  border-radius: var(--radius);
}
.about-image .badge strong {
  display: block;
  font-size: 3rem;
  line-height: 1;
  color: var(--gold-soft);
}
.about-image .badge span { font-size: .9rem; }

.about-content h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin: 1rem 0 1.5rem;
  line-height: 1.2;
  color: var(--ink);
}
.about-content p {
  color: var(--earth);
  margin-bottom: 1rem;
  line-height: 1.8;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
  margin: 2rem 0;
}
.about-features li {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--earth);
}
.about-features li::before {
  content: '';
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--rust);
  flex-shrink: 0;
  position: relative;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ----------- Services ----------- */
.services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--sand-50);
  border: 1px solid var(--sand-100);
  overflow: hidden;
  border-radius: var(--radius);
  transition: all .35s;
  position: relative;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 72px rgba(28,20,16,.2), 0 0 0 1px rgba(201,163,95,.25);
  border-color: var(--gold);
}
.service-card .img {
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.service-card .img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(28,20,16,.5));
}
.service-card .num {
  position: absolute;
  top: 1rem; right: 1rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  background: var(--rust);
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  z-index: 2;
}
.service-card .body { padding: 1.75rem; }
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .75rem;
}
.service-card p {
  font-size: .95rem;
  color: var(--earth);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.service-card a.more {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--rust);
  text-transform: uppercase;
  letter-spacing: .1em;
  transition: gap .2s;
}
.service-card a.more:hover { gap: .8rem; }
.service-card a.more svg { width: 16px; height: 16px; }

/* ----------- Why Choose ----------- */
.why {
  background: var(--ink);
  color: var(--sand-100);
  position: relative;
  overflow: hidden;
}
.why::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(184,83,26,.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(201,163,95,.1) 0%, transparent 40%);
}
.why .container { position: relative; z-index: 1; }
.why .section-head h2 { color: var(--white); }
.why .section-head p { color: var(--sand-200); opacity: 1; }
.why .eyebrow { color: var(--gold); }
.why .eyebrow::before { background: var(--gold); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.why-item {
  text-align: center;
  padding: 2.25rem 1.5rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(201,163,95,.15);
  border-radius: var(--radius);
  transition: all .3s;
}
.why-item:hover {
  background: rgba(255,255,255,.07);
  border-color: var(--gold);
  border-top-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.why-item .icon {
  width: 70px; height: 70px;
  background: var(--rust);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 1.5rem;
}
.why-item .icon svg {
  width: 32px; height: 32px;
  color: var(--white);
}
.why-item h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: .75rem;
  color: var(--white);
  font-weight: 600;
}
.why-item p {
  font-size: .9rem;
  color: var(--sand-200);
  line-height: 1.6;
}

/* ----------- Projects ----------- */
.projects { background: var(--sand-50); }
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.proj-card {
  position: relative;
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.proj-card .img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .6s;
}
.proj-card:hover .img { transform: scale(1.08); }
.proj-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(28,20,16,.95));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  color: var(--white);
}
.proj-card .tag {
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .4rem;
  font-weight: 600;
}
.proj-card h4 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
}
.proj-card.tall { grid-row: span 2; height: auto; }

/* ----------- CTA Banner ----------- */
.cta-banner {
  background:
    linear-gradient(105deg, rgba(184,83,26,.95), rgba(140,58,15,.95)),
    var(--rust);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 0L0 30L30 60L60 30Z' fill='none' stroke='%23ffffff' stroke-width='.4' opacity='.15'/%3E%3C/svg%3E");
  opacity: .4;
}
.cta-banner .container { position: relative; }
.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.cta-banner p {
  max-width: 640px;
  margin: 0 auto 2rem;
  opacity: .9;
  font-size: 1.05rem;
}
.cta-banner .btn-outline { border-color: var(--white); color: var(--white); }
.cta-banner .btn-outline:hover { background: var(--white); color: var(--rust); border-color: var(--white); }

/* ----------- Testimonials ----------- */
.testimonials { background: var(--white); }
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.test-card {
  background: var(--sand-50);
  padding: 2.25rem;
  border-radius: var(--radius);
  border-top: 3px solid var(--rust);
  border: 1px solid var(--sand-100);
  border-top: 3px solid var(--rust);
  position: relative;
  transition: transform .3s, box-shadow .3s;
}
.test-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-sm);
  border-color: var(--sand-200);
  border-top-color: var(--rust);
}
.test-card .quote-mark {
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  position: absolute;
  top: .5rem; right: 1.5rem;
  opacity: .4;
}
.test-card p {
  font-style: italic;
  color: var(--earth);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.test-card .person {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--sand-200);
  padding-top: 1.25rem;
}
.test-card .avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--rust);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: .05em;
}
.test-card .person strong {
  display: block;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 600;
}
.test-card .person span {
  color: var(--earth);
  font-size: .85rem;
  opacity: .7;
}

/* ----------- Contact ----------- */
.contact {
  background: var(--sand-50);
  padding: 6rem 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.contact-info {
  background: var(--ink);
  color: var(--sand-100);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: '';
  position: absolute;
  bottom: -50px; right: -50px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--rust);
  opacity: .15;
}
.contact-info h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--white);
}
.contact-info > p {
  margin-bottom: 2rem;
  color: var(--sand-200);
  line-height: 1.7;
}
.contact-info .info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-info .info-item .ico {
  width: 42px; height: 42px;
  background: var(--rust);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-info .info-item .ico svg { width: 18px; height: 18px; color: var(--white); }
.contact-info .info-item strong {
  display: block;
  color: var(--gold);
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: .25rem;
}
.contact-info .info-item span { color: var(--sand-100); font-size: .95rem; }

.contact-form { padding: 3rem; }
.contact-form h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--ink);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}
.form-field label {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--earth);
  font-weight: 600;
  margin-bottom: .5rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: .95rem;
  padding: .85rem 1rem;
  border: 1px solid var(--sand-200);
  border-radius: var(--radius);
  background: var(--sand-50);
  color: var(--ink);
  transition: all .2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--rust);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(184,83,26,.1);
}
.form-field textarea { resize: vertical; min-height: 120px; }

/* ----------- Footer ----------- */
.footer {
  background: var(--ink);
  color: var(--sand-200);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
}
.footer h5 {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.footer-brand p {
  margin: 1rem 0 1.5rem;
  font-size: .92rem;
  line-height: 1.7;
  color: var(--sand-200);
}
.footer-brand {
  padding-top: .25rem;
  border-top: 2px solid var(--rust);
}
.footer-brand .brand-text .b1,
.footer-brand .brand-text .b2 { color: var(--white); }
.footer-brand .brand-text .b1 { color: var(--gold); }
.footer ul li { margin-bottom: .65rem; }
.footer ul a {
  font-size: .92rem;
  color: var(--sand-200);
  transition: color .2s, padding-left .2s;
}
.footer ul a:hover { color: var(--gold); padding-left: 6px; }
.footer .info-line {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  margin-bottom: .85rem;
  font-size: .92rem;
}
.footer .info-line svg { width: 16px; height: 16px; color: var(--gold); margin-top: 4px; flex-shrink: 0; }
.footer .socials { margin-top: 1.5rem; }
.footer .socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: grid;
  place-items: center;
  transition: all .25s;
}
.footer .socials a:hover { background: var(--rust); transform: translateY(-3px); }

.footer-bottom {
  border-top: 1px solid rgba(201,163,95,.15);
  margin-top: 3rem;
  padding: 1.5rem 0;
  text-align: center;
  font-size: .85rem;
  color: var(--sand-200);
}

/* ----------- WhatsApp Float ----------- */
.whatsapp-float {
  position: fixed;
  bottom: 25px; right: 25px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
  z-index: 99;
  transition: transform .25s;
  animation: pulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 30px; height: 30px; color: var(--white); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,.4); }
  50%      { box-shadow: 0 8px 24px rgba(37,211,102,.7), 0 0 0 8px rgba(37,211,102,.15); }
}

/* ----------- Page banner (sub-pages) ----------- */
.page-banner {
  background: linear-gradient(135deg, var(--ink), var(--earth));
  color: var(--white);
  padding: 6rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 70% 30%, rgba(184,83,26,.28), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(201,163,95,.12), transparent 45%);
}
.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Crect x='19' y='0' width='2' height='40' fill='%23ffffff' opacity='.03'/%3E%3Crect x='0' y='19' width='40' height='2' fill='%23ffffff' opacity='.03'/%3E%3C/svg%3E");
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 600;
  margin-bottom: .5rem;
}
.page-banner h1 em { color: var(--gold); font-style: italic; }
.page-banner .crumbs { color: var(--sand-200); font-size: .95rem; }
.page-banner .crumbs a { color: var(--gold); }

/* ----------- Sub-page Hero ----------- */
.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink) 0%, var(--earth) 100%);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .28;
  z-index: 1;
  transition: transform 8s ease;
}
.page-hero:hover .page-hero-bg { transform: scale(1.04); }
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(160deg, rgba(28,20,16,.96) 0%, rgba(28,20,16,.72) 55%, rgba(74,53,32,.55) 100%),
    radial-gradient(circle at 75% 25%, rgba(184,83,26,.2), transparent 55%);
  z-index: 2;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 25%, var(--gold-soft) 50%, var(--gold) 75%, transparent 100%);
  z-index: 4;
}
.page-hero-inner {
  position: relative;
  z-index: 3;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 7rem var(--pad) 6rem;
  width: 100%;
  text-align: center;
}
.page-hero .eyebrow {
  color: var(--gold);
  justify-content: center;
}
.page-hero .eyebrow::before { background: var(--gold); }
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.08;
  margin: .75rem auto 1.25rem;
  max-width: 820px;
}
.page-hero h1 em { color: var(--gold); font-style: italic; }
.page-hero .hero-sub {
  font-size: 1.08rem;
  color: var(--sand-100);
  max-width: 580px;
  margin: 0 auto 2rem;
  line-height: 1.75;
  opacity: .9;
}
.page-hero .crumbs {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: var(--sand-200);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(201,163,95,.2);
  padding: .4rem 1rem;
  border-radius: 100px;
}
.page-hero .crumbs a { color: var(--gold-soft); }
.page-hero .crumbs span { opacity: .5; }
.page-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* ----------- Preloader ----------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.pre-inner { text-align: center; }
.pre-inner img {
  width: 72px;
  height: 72px;
  animation: pre-pulse 1.4s ease-in-out infinite;
}
@keyframes pre-pulse {
  0%, 100% { transform: scale(1);   opacity: .7; }
  50%       { transform: scale(1.1); opacity: 1;  }
}
.pre-bar {
  width: 120px; height: 2px;
  background: rgba(201,163,95,.2);
  border-radius: 1px;
  overflow: hidden;
  margin: 1.5rem auto 0;
}
.pre-fill {
  height: 100%; width: 0;
  background: var(--gold);
  animation: pre-load 1.5s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes pre-load { to { width: 100%; } }

/* ----------- FAQ ----------- */
.faq-section { padding: 5rem 0; background: var(--white); }
.faq-list { max-width: 780px; margin: 0 auto; }
details { border-bottom: 1px solid var(--sand-200); padding: 1.25rem 0; }
details:first-of-type { border-top: 1px solid var(--sand-200); }
summary {
  list-style: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
  transition: color .2s;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--rust);
  flex-shrink: 0;
  transition: transform .3s ease;
  line-height: 1;
}
details[open] > summary::after { transform: rotate(45deg); }
details[open] > summary { color: var(--rust); }
.faq-answer {
  padding: .9rem 0 .2rem;
  color: var(--earth);
  line-height: 1.8;
  font-size: .97rem;
}

/* ----------- 404 ----------- */
.not-found {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem var(--pad);
}
.not-found-inner { max-width: 560px; }
.not-found .code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 12rem);
  line-height: 1;
  color: var(--rust);
  opacity: .15;
  position: relative;
}
.not-found .code::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: var(--rust);
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: inherit;
}
.not-found h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--ink);
  margin: 1.5rem 0 1rem;
}
.not-found p { color: var(--earth); line-height: 1.75; margin-bottom: 2rem; }
.not-found .btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ----------- Reveal animations ----------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s, transform .8s;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ----------- Mobile ----------- */
@media (max-width: 980px) {
  .menu-toggle { display: flex; }
  .menu {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 320px;
    height: 100vh;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 1.25rem;
    transition: right .3s;
    z-index: 200;
    box-shadow: -10px 0 30px rgba(0,0,0,.2);
  }
  .menu.open { right: 0; }
  .menu a { color: var(--sand-100); font-size: 1.05rem; }
  .menu .btn { width: 100%; justify-content: center; }
  .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about::before { display: none; }
  .about-image { height: 380px; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .proj-grid { grid-template-columns: 1fr 1fr; }
  .proj-card.tall { grid-row: auto; height: 280px; }
  .test-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-info, .contact-form { padding: 2rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .page-hero { min-height: 52vh; }
  .page-hero-inner { padding: 5rem var(--pad) 4rem; }

  /* Mobile nav button fix */
  .menu a.btn-primary { color: var(--white); }

  .hero-stats-inner { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  section { padding: 4rem 0; }
}
@media (max-width: 560px) {
  .services-grid, .why-grid, .proj-grid, .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats-inner { grid-template-columns: 1fr 1fr; }
  .topbar { display: none; }
  .about-features { grid-template-columns: 1fr; }
  .page-hero { min-height: 44vh; }
  .page-hero-inner { padding: 4rem var(--pad) 3rem; }
  .page-hero-actions { flex-direction: column; align-items: center; }
}
