/* ============================================================================
   Mango Infotech — Master Stylesheet
   Palette derived from the company logo:
     • Copper/Mango orange — primary brand colour
     • Espresso brown — script wordmark accent
     • Cream — light backdrop
   ========================================================================== */

:root {
  /* Brand palette — pulled from logo */
  --copper: #B8612A;
  --copper-light: #D8854A;
  --copper-dark: #8E4818;
  --espresso: #4A2510;
  --espresso-soft: #6B3A1F;
  --cream: #FBF6EE;
  --cream-warm: #F5E9D7;
  --sand: #E8D5B8;

  /* Neutrals */
  --ink: #1F1A14;
  --ink-soft: #4A4339;
  --ash: #8B8378;
  --mist: #D9D2C5;
  --paper: #FFFFFF;

  /* Accent */
  --leaf: #5B7A3A; /* echoes the mango leaf */
  --gold: #D4A04A;

  /* Functional */
  --success: #2F7A4F;
  --error:   #B83A2A;

  /* Typography */
  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-body:    'Manrope', 'Segoe UI', system-ui, sans-serif;
  --font-script:  'Caveat', 'Brush Script MT', cursive;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Geometry */
  --radius-sm: 6px;
  --radius:    14px;
  --radius-lg: 28px;
  --radius-xl: 44px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(74, 37, 16, 0.06);
  --shadow:    0 8px 28px rgba(74, 37, 16, 0.10);
  --shadow-lg: 0 24px 60px rgba(74, 37, 16, 0.16);
  --shadow-copper: 0 12px 36px rgba(184, 97, 42, 0.28);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 180ms;
  --t-base: 320ms;
  --t-slow: 540ms;
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--copper); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--copper-dark); }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }

/* Selection */
::selection { background: var(--copper); color: var(--cream); }

/* ─── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--espresso);
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
h4 { font-size: 1.15rem; }
p { color: var(--ink-soft); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(184, 97, 42, 0.3);
  border-radius: 999px;
  background: rgba(184, 97, 42, 0.06);
}
.script {
  font-family: var(--font-script);
  color: var(--copper);
  font-weight: 500;
  font-size: 1.4em;
  line-height: 1;
}

/* ─── Layout ─────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.section-head h2 { margin-top: 1rem; }
.section-head p { margin-top: 1rem; font-size: 1.08rem; }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: all var(--t-base) var(--ease);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--copper);
  color: var(--cream);
  box-shadow: var(--shadow-copper);
}
.btn-primary:hover {
  background: var(--copper-dark);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(184, 97, 42, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--espresso);
  border: 1.5px solid var(--espresso);
}
.btn-ghost:hover {
  background: var(--espresso);
  color: var(--cream);
}
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--copper);
  font-weight: 600;
  font-size: 0.95rem;
}
.btn-link svg { transition: transform var(--t-base) var(--ease); }
.btn-link:hover svg { transform: translateX(4px); }

/* ─── Header / Navigation ───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(251, 246, 238, 0.85);
  border-bottom: 1px solid rgba(74, 37, 16, 0.08);
  transition: all var(--t-base) var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--espresso);
}
.brand img { height: 44px; width: auto; }
.brand-text { line-height: 1; }
.brand-text small {
  display: block;
  font-family: var(--font-script);
  font-size: 0.85rem;
  color: var(--copper);
  font-weight: 400;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: var(--espresso);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.4rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: var(--copper);
  transition: all var(--t-base) var(--ease);
  transform: translateX(-50%);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--copper); }

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 240px;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-base) var(--ease);
  border: 1px solid rgba(74, 37, 16, 0.06);
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
}
.dropdown-menu a:hover {
  background: var(--cream-warm);
  color: var(--copper-dark);
}
.dropdown-menu a::after { display: none; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-toggle span {
  width: 24px; height: 2px;
  background: var(--espresso);
  transition: all var(--t-base) var(--ease);
}

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(5rem, 10vw, 8rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse at top right, rgba(216, 133, 74, 0.18), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(91, 122, 58, 0.10), transparent 60%),
    var(--cream);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23B8612A' fill-opacity='0.04'%3E%3Cpath d='M30 30c0-8.284-6.716-15-15-15S0 21.716 0 30s6.716 15 15 15 15-6.716 15-15zm0 0c0 8.284 6.716 15 15 15s15-6.716 15-15-6.716-15-15-15-15 6.716-15 15z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero-content { animation: fadeInUp 0.8s var(--ease) both; }
.hero h1 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.hero h1 .accent {
  font-family: var(--font-script);
  color: var(--copper);
  font-weight: 500;
  font-size: 1.05em;
  display: inline-block;
  transform: rotate(-2deg);
  position: relative;
}
.hero h1 .accent::after {
  content: '';
  position: absolute;
  left: -4px; right: -4px;
  bottom: 8%;
  height: 14px;
  background: var(--cream-warm);
  z-index: -1;
  transform: skewX(-12deg);
}
.hero-lede {
  font-size: 1.15rem;
  max-width: 540px;
  margin-bottom: 2rem;
  color: var(--ink-soft);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--ash);
}
.trust-dots {
  display: flex;
}
.trust-dots span {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--copper-light), var(--copper));
  border: 2px solid var(--cream);
  margin-left: -10px;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  color: var(--cream);
  font-weight: 600;
}
.trust-dots span:first-child { margin-left: 0; }

/* Hero visual — stylised mango-shape composition */
.hero-visual {
  position: relative;
  aspect-ratio: 1;
  animation: fadeIn 1.2s var(--ease) 0.3s both;
}
.hero-visual .blob {
  position: absolute;
  inset: 8%;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  background: linear-gradient(135deg, var(--copper) 0%, var(--copper-dark) 100%);
  box-shadow: var(--shadow-lg);
  animation: morph 12s var(--ease) infinite;
}
.hero-visual .blob::before {
  content: '';
  position: absolute;
  top: -8%; right: 10%;
  width: 30%; height: 25%;
  background: var(--leaf);
  border-radius: 100% 0 60% 40% / 60% 0 70% 40%;
  transform: rotate(-25deg);
  box-shadow: var(--shadow);
}
.hero-card {
  position: absolute;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero-card-1 {
  top: 12%; left: -4%;
  animation: floatY 5s ease-in-out infinite;
}
.hero-card-2 {
  bottom: 16%; right: -6%;
  animation: floatY 6s ease-in-out infinite reverse;
}
.hero-card .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--cream-warm);
  display: grid; place-items: center;
  color: var(--copper);
}
.hero-card strong { color: var(--espresso); font-size: 0.92rem; display: block; }
.hero-card span { color: var(--ash); font-size: 0.78rem; }

@keyframes morph {
  0%, 100% { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
  50% { border-radius: 45% 55% 40% 60% / 55% 45% 60% 40%; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ─── Stats strip ───────────────────────────────────────────────────────── */
.stats {
  background: var(--espresso);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(184, 97, 42, 0.25), transparent 60%);
  pointer-events: none;
}
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item {
  padding: 1rem;
  border-right: 1px solid rgba(251, 246, 238, 0.12);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  font-weight: 500;
  color: var(--copper-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-num span { color: var(--cream); }
.stat-label {
  font-size: 0.92rem;
  color: rgba(251, 246, 238, 0.7);
  letter-spacing: 0.05em;
}

/* ─── Service cards ─────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  position: relative;
  padding: 2.2rem;
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(74, 37, 16, 0.06);
  transition: all var(--t-base) var(--ease);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(184, 97, 42, 0.10), transparent 70%);
  border-radius: 50%;
  transform: translate(40%, -40%);
  transition: transform var(--t-slow) var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--copper);
}
.service-card:hover::before { transform: translate(20%, -20%) scale(1.4); }
.service-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--copper-light), var(--copper));
  display: grid; place-items: center;
  color: var(--cream);
  margin-bottom: 1.4rem;
  box-shadow: var(--shadow-copper);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { margin-bottom: 0.7rem; }
.service-card p { font-size: 0.95rem; margin-bottom: 1.2rem; }
.service-card ul {
  margin-bottom: 1.5rem;
}
.service-card ul li {
  padding: 0.4rem 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.service-card ul li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--copper);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── Pricing tiers ─────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.price-card {
  position: relative;
  padding: 2.2rem;
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 2px solid var(--mist);
  transition: all var(--t-base) var(--ease);
}
.price-card.featured {
  background: var(--espresso);
  color: var(--cream);
  border-color: var(--copper);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}
.price-card.featured h3 { color: var(--cream); }
.price-card.featured .price-amount { color: var(--copper-light); }
.price-card.featured ul li { color: rgba(251, 246, 238, 0.85); }
.price-card.featured ul li::before { background: var(--copper-light); }
.price-card .badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--copper);
  color: var(--cream);
  padding: 0.3rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.price-tier {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.8rem;
}
.price-card.featured .price-tier { color: var(--copper-light); }
.price-card h3 { margin-bottom: 0.4rem; }
.price-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--espresso);
  margin: 1rem 0;
}
.price-amount small {
  font-size: 0.95rem;
  color: var(--ash);
  font-family: var(--font-body);
  font-weight: 400;
}
.price-card.featured .price-amount small { color: rgba(251, 246, 238, 0.6); }
.price-card ul { margin: 1.5rem 0 2rem; }
.price-card ul li {
  padding: 0.5rem 0;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.price-card ul li svg { color: var(--copper); flex-shrink: 0; }
.price-card.featured ul li svg { color: var(--copper-light); }
.price-card .btn { width: 100%; justify-content: center; }

/* ─── Testimonials ──────────────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial {
  padding: 2rem;
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(74, 37, 16, 0.06);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: -10px; left: 1.5rem;
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--copper);
  line-height: 1;
}
.testimonial p {
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--ink);
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--mist);
}
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--copper-light), var(--copper));
  display: grid; place-items: center;
  color: var(--cream);
  font-weight: 600;
}
.testimonial-author strong { display: block; color: var(--espresso); font-size: 0.95rem; }
.testimonial-author span { font-size: 0.82rem; color: var(--ash); }

/* ─── Page header (interior pages) ──────────────────────────────────────── */
.page-header {
  position: relative;
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(ellipse at top, rgba(216, 133, 74, 0.15), transparent 60%),
    var(--cream);
  text-align: center;
  border-bottom: 1px solid rgba(74, 37, 16, 0.05);
}
.page-header h1 { margin: 1rem 0; }
.page-header p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.08rem;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--ash);
  margin-top: 2rem;
}
.breadcrumb a { color: var(--copper); }
.breadcrumb svg { width: 14px; height: 14px; }

/* ─── Forms ─────────────────────────────────────────────────────────────── */
.form {
  display: grid;
  gap: 1.2rem;
}
.form-row {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr 1fr;
}
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--espresso);
  letter-spacing: 0.02em;
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.9rem 1rem;
  background: var(--paper);
  border: 1.5px solid var(--mist);
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: all var(--t-fast) var(--ease);
  font-family: var(--font-body);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 4px rgba(184, 97, 42, 0.12);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-status {
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  display: none;
}
.form-status.show { display: block; }
.form-status.success { background: #E8F4ED; color: var(--success); border-left: 3px solid var(--success); }
.form-status.error   { background: #F9E8E5; color: var(--error);   border-left: 3px solid var(--error); }

/* ─── Footer ────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--espresso);
  color: rgba(251, 246, 238, 0.78);
  padding: 5rem 0 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--copper), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-col h4 {
  color: var(--cream);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  font-family: var(--font-body);
  font-weight: 600;
}
.footer-col ul li { padding: 0.35rem 0; }
.footer-col ul li a {
  color: rgba(251, 246, 238, 0.7);
  font-size: 0.92rem;
  transition: color var(--t-fast) var(--ease);
}
.footer-col ul li a:hover { color: var(--copper-light); }
.footer-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.footer-brand img { height: 48px; filter: brightness(1.1); }
.footer-brand .brand-text { color: var(--cream); font-family: var(--font-display); font-size: 1.2rem; }
.footer-about p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.5rem; }
.footer-contact-item {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.4rem 0;
  font-size: 0.9rem;
}
.footer-contact-item svg {
  color: var(--copper-light);
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-contact-item a { color: rgba(251, 246, 238, 0.78); }
.footer-contact-item a:hover { color: var(--copper-light); }
.footer-newsletter {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.footer-newsletter input {
  flex: 1;
  padding: 0.75rem 0.9rem;
  background: rgba(251, 246, 238, 0.06);
  border: 1px solid rgba(251, 246, 238, 0.15);
  border-radius: var(--radius-sm);
  color: var(--cream);
  font-size: 0.88rem;
}
.footer-newsletter input::placeholder { color: rgba(251, 246, 238, 0.4); }
.footer-newsletter input:focus {
  outline: none;
  border-color: var(--copper-light);
}
.footer-newsletter button {
  padding: 0.75rem 1.1rem;
  background: var(--copper);
  color: var(--cream);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  transition: background var(--t-fast) var(--ease);
}
.footer-newsletter button:hover { background: var(--copper-dark); }
.social-links { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(251, 246, 238, 0.06);
  display: grid; place-items: center;
  color: rgba(251, 246, 238, 0.7);
  transition: all var(--t-fast) var(--ease);
}
.social-links a:hover {
  background: var(--copper);
  color: var(--cream);
  transform: translateY(-3px);
}
.footer-bottom {
  padding: 1.8rem 0;
  border-top: 1px solid rgba(251, 246, 238, 0.10);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(251, 246, 238, 0.55);
}

/* ─── About-page specific ───────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-grid h2 { margin: 1rem 0 1.5rem; }
.about-grid p { margin-bottom: 1.2rem; }
.about-visual {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--copper) 0%, var(--copper-dark) 100%);
  display: grid;
  place-items: center;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.about-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.2), transparent 50%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.team-card {
  text-align: center;
  background: var(--paper);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  transition: all var(--t-base) var(--ease);
  border: 1px solid rgba(74, 37, 16, 0.06);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  background: linear-gradient(135deg, var(--copper-light), var(--copper));
  display: grid; place-items: center;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
}
.team-card h4 { margin-bottom: 0.3rem; }
.team-card .role {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
  display: block;
  margin-bottom: 1rem;
}
.team-card .socials {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.team-card .socials a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--cream-warm);
  color: var(--espresso);
  display: grid; place-items: center;
  transition: all var(--t-fast) var(--ease);
}
.team-card .socials a:hover { background: var(--copper); color: var(--cream); }

/* ─── Portfolio ─────────────────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 3rem;
}
.filter-bar button {
  padding: 0.6rem 1.3rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1.5px solid var(--mist);
  border-radius: 999px;
  transition: all var(--t-fast) var(--ease);
}
.filter-bar button:hover { border-color: var(--copper); color: var(--copper); }
.filter-bar button.active {
  background: var(--copper);
  color: var(--cream);
  border-color: var(--copper);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--espresso);
  cursor: pointer;
  transition: transform var(--t-base) var(--ease);
}
.project-card:hover { transform: translateY(-4px); }
.project-thumb {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--copper) 0%, var(--copper-dark) 100%);
  display: grid; place-items: center;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 500;
  transition: transform var(--t-slow) var(--ease);
}
.project-card:nth-child(2n) .project-thumb { background: linear-gradient(135deg, var(--espresso-soft), var(--espresso)); }
.project-card:nth-child(3n) .project-thumb { background: linear-gradient(135deg, var(--leaf), #3F5527); }
.project-card:nth-child(4n) .project-thumb { background: linear-gradient(135deg, var(--gold), var(--copper)); }
.project-card:hover .project-thumb { transform: scale(1.05); }
.project-overlay {
  position: absolute;
  inset: 0;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(31, 26, 20, 0.92), transparent 70%);
  color: var(--cream);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-overlay .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper-light);
  margin-bottom: 0.5rem;
}
.project-overlay h4 { color: var(--cream); margin-bottom: 0.4rem; }
.project-overlay p { color: rgba(251, 246, 238, 0.85); font-size: 0.88rem; }

/* ─── Blog ──────────────────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--t-base) var(--ease);
  border: 1px solid rgba(74, 37, 16, 0.06);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--copper-light), var(--copper));
  display: grid; place-items: center;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.blog-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(255,255,255,0.15), transparent 60%);
}
.blog-card:nth-child(2n) .blog-thumb { background: linear-gradient(135deg, var(--espresso-soft), var(--espresso)); }
.blog-card:nth-child(3n) .blog-thumb { background: linear-gradient(135deg, var(--gold), var(--copper-dark)); }
.blog-content { padding: 1.8rem; flex: 1; display: flex; flex-direction: column; }
.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--ash);
  margin-bottom: 0.8rem;
}
.blog-meta .category {
  color: var(--copper);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.blog-card h3 { font-size: 1.2rem; margin-bottom: 0.7rem; }
.blog-card p { font-size: 0.92rem; margin-bottom: 1.2rem; flex: 1; }

/* ─── Contact page ──────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
}
.contact-info { padding-right: 1rem; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { margin-bottom: 2rem; }
.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 0;
  border-top: 1px solid var(--mist);
}
.contact-detail:last-child { border-bottom: 1px solid var(--mist); }
.contact-detail .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--cream-warm);
  display: grid; place-items: center;
  color: var(--copper);
  flex-shrink: 0;
}
.contact-detail strong { display: block; color: var(--espresso); margin-bottom: 0.2rem; }
.contact-detail a, .contact-detail span { color: var(--ink-soft); font-size: 0.95rem; }
.contact-form-card {
  background: var(--paper);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.contact-form-card h3 { margin-bottom: 0.6rem; }
.contact-form-card > p { margin-bottom: 2rem; color: var(--ink-soft); }
.map-embed {
  margin-top: 4rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
  box-shadow: var(--shadow);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ─── FAQ ───────────────────────────────────────────────────────────────── */
.faq {
  max-width: 760px;
  margin: 4rem auto 0;
}
.faq-item {
  background: var(--paper);
  border-radius: var(--radius);
  margin-bottom: 0.8rem;
  border: 1px solid rgba(74, 37, 16, 0.06);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  padding: 1.3rem 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-weight: 600;
  color: var(--espresso);
  font-size: 1rem;
  font-family: var(--font-body);
}
.faq-q::after {
  content: '+';
  font-size: 1.6rem;
  color: var(--copper);
  font-weight: 300;
  transition: transform var(--t-base) var(--ease);
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  padding: 0 1.6rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
  transition: all var(--t-base) var(--ease);
  overflow: hidden;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 1.6rem 1.4rem;
}

/* ─── CTA section ───────────────────────────────────────────────────────── */
.cta-section {
  position: relative;
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: linear-gradient(135deg, var(--copper) 0%, var(--copper-dark) 100%);
  color: var(--cream);
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23FBF6EE' fill-opacity='0.05'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-content {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cta-content h2 { color: var(--cream); margin-bottom: 1.2rem; }
.cta-content p { color: rgba(251, 246, 238, 0.9); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-content .btn-primary {
  background: var(--cream);
  color: var(--copper-dark);
}
.cta-content .btn-primary:hover {
  background: var(--paper);
  color: var(--espresso);
}
.cta-content .btn-ghost {
  border-color: var(--cream);
  color: var(--cream);
}
.cta-content .btn-ghost:hover {
  background: var(--cream);
  color: var(--copper-dark);
}

/* ─── 404 ───────────────────────────────────────────────────────────────── */
.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 0;
}
.error-page .number {
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 500;
  color: var(--copper);
  line-height: 1;
  margin-bottom: 1rem;
}

/* ─── WhatsApp floating button ──────────────────────────────────────────── */
.fab-whatsapp {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: transform var(--t-base) var(--ease);
}
.fab-whatsapp:hover { transform: scale(1.1); color: white; }
.fab-whatsapp::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.5;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.3); opacity: 0; }
}

/* ─── Reveal animations ─────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item { border-bottom: 1px solid rgba(251, 246, 238, 0.12); padding-bottom: 1.5rem; }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .price-card.featured { transform: none; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 2rem;
    gap: 1.2rem;
    box-shadow: var(--shadow);
    transform: translateY(-110%);
    transition: transform var(--t-base) var(--ease);
    border-top: 1px solid var(--mist);
  }
  .nav-links.open { transform: translateY(0); }
  .menu-toggle { display: flex; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-cta .btn { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    background: var(--cream-warm);
    opacity: 1;
    visibility: visible;
    margin-top: 0.5rem;
    padding: 0.4rem;
  }
  .fab-whatsapp { width: 52px; height: 52px; bottom: 1rem; right: 1rem; }
}
