/* =========================================================
   Nyarah Design Studio — Base styles
   ========================================================= */

:root {
  /* Brand colors — extracted from logo */
  --navy: #1e3a5f;
  --navy-deep: #142847;
  --navy-soft: #2c4a73;
  --gold: #b8975e;
  --gold-soft: #c9a86b;
  --gold-deep: #9a7d4b;
  --gold-tint: #e8d9b6;

  /* Surfaces */
  --bg: #ececea;
  --bg-warm: #f4f1ec;
  --bg-cool: #ececea;
  --bg-deep: #1e3a5f;
  --surface: #ffffff;
  --line: rgba(30, 58, 95, 0.12);
  --line-strong: rgba(30, 58, 95, 0.22);

  /* Text */
  --ink: #1e3a5f;
  --ink-soft: #5a6b80;
  --ink-mute: #8492a3;

  /* Type */
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --maxw: 1280px;
  --pad: clamp(20px, 4vw, 64px);
  --section-y: clamp(80px, 10vw, 140px);

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
}

/* =========================================================
   Tone variations
   ========================================================= */

[data-tone="acolhedor"] {
  --bg: #f4ede2;
  --bg-warm: #faf5ec;
  --bg-cool: #efe6d6;
  --gold: #a88656;
  --gold-soft: #c3a373;
  --navy: #2a3f54;
  --ink: #2a3f54;
  --ink-soft: #6b6356;
  --line: rgba(168, 134, 86, 0.18);
}

[data-tone="moderno"] {
  --bg: #ffffff;
  --bg-warm: #f8f7f4;
  --bg-cool: #1e3a5f;
  --bg-deep: #0e1f33;
  --gold: #d4a85a;
  --gold-soft: #e6c184;
  --navy: #0e1f33;
  --ink: #0e1f33;
  --ink-soft: #4a5868;
  --line: rgba(14, 31, 51, 0.12);
}

/* =========================================================
   Reset + base
   ========================================================= */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

::selection { background: var(--gold); color: var(--surface); }

/* =========================================================
   Layout
   ========================================================= */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  position: relative;
}

.section--tight { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.section-title {
  font-size: clamp(36px, 5.5vw, 64px);
  margin-top: 18px;
  margin-bottom: 24px;
}

.section-lead {
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.65;
}

/* =========================================================
   Navigation
   ========================================================= */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}

.nav--scrolled {
  background: rgba(236, 236, 234, 0.86);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 1px 0 var(--line);
  padding: 10px 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  height: 38px;
}
.nav__logo img { height: 100%; width: auto; }

.nav__links {
  display: flex;
  gap: 36px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.nav__links a {
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav__links a:hover { color: var(--gold-deep); }
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right .25s ease;
}
.nav__links a:hover::after { right: 0; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid var(--navy);
  transition: background .2s, transform .2s;
}
.nav__cta:hover { background: var(--navy-deep); transform: translateY(-1px); }

.nav__burger { display: none; }

@media (max-width: 880px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 9px 16px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 500;
  }
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: all .25s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn--primary:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -8px rgba(30, 58, 95, 0.45);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.btn--gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  transform: translateY(-2px);
}

.btn__arrow {
  display: inline-block;
  transition: transform .2s ease;
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  padding: clamp(140px, 18vw, 200px) 0 clamp(80px, 10vw, 120px);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 28px;
}
.hero__eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.hero__title {
  font-size: clamp(48px, 7.5vw, 96px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-deep);
}

.hero__lead {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 48ch;
  margin-bottom: 40px;
}

.hero__cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__meta {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero__meta-item { display: flex; flex-direction: column; gap: 4px; }
.hero__meta-num {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
  color: var(--navy);
  font-weight: 500;
}
.hero__meta-lbl {
  font-size: 12.5px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.hero__art {
  position: relative;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { aspect-ratio: 1 / 1; max-width: 420px; margin: 0 auto; }
}

/* Decorative moon on hero */
.hero__moon-bg {
  position: absolute;
  top: -8%;
  right: -10%;
  width: 70%;
  max-width: 720px;
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}
.hero__moon-bg svg { width: 100%; height: auto; }

.hero > .wrap { position: relative; z-index: 1; }

/* Hero portrait card */
.hero__portrait {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, #fafaf7 0%, #e6e2da 100%);
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(30, 58, 95, 0.25);
}
.hero__portrait-inner {
  position: absolute;
  inset: 24px;
  border-radius: calc(var(--r-lg) - 6px);
  background-image:
    repeating-linear-gradient(135deg, rgba(184, 151, 94, 0.10) 0 2px, transparent 2px 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--ink-soft);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero__portrait-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  border-radius: var(--r-lg);
  display: block;
}
.hero__portrait-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: rgba(255,255,255,0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 10px 14px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
}

/* Floating mini-cards on hero */
.hero__chip {
  position: absolute;
  background: #fff;
  border-radius: var(--r-md);
  padding: 12px 16px;
  box-shadow: 0 10px 30px -10px rgba(30, 58, 95, 0.22);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.hero__chip--tl { top: 10%; left: -8%; }
.hero__chip--br { bottom: 14%; right: -6%; }
.hero__chip-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* =========================================================
   Services
   ========================================================= */

.services {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%);
}

.services__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}
.services__head-right { padding-bottom: 8px; }

@media (max-width: 760px) {
  .services__head { grid-template-columns: 1fr; gap: 24px; }
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 960px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services__grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 24px 50px -20px rgba(30, 58, 95, 0.18);
}
.service-card__num {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--gold-deep);
  letter-spacing: 0.1em;
  font-style: italic;
}
.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(184, 151, 94, 0.12) 0%, rgba(184, 151, 94, 0.04) 100%);
  border: 1px solid rgba(184, 151, 94, 0.22);
  color: var(--gold-deep);
  margin-bottom: 6px;
}
.service-card__icon svg { width: 28px; height: 28px; }
.service-card__title {
  font-size: 26px;
  margin: 0;
}
.service-card__desc {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  flex: 1;
}
.service-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  margin-top: 8px;
  letter-spacing: 0.02em;
}
.service-card__more::after {
  content: '→';
  transition: transform .2s ease;
}
.service-card:hover .service-card__more::after { transform: translateX(4px); }

/* =========================================================
   Sobre
   ========================================================= */

.about {
  background: var(--bg);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 880px) {
  .about__grid { grid-template-columns: 1fr; }
}

.about__art {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
}
.about__portrait {
  aspect-ratio: 3 / 4;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, #d9d4c7 0%, #b5ad9c 100%);
  position: relative;
  overflow: hidden;
}
.about__portrait--b {
  margin-top: 48px;
  background: linear-gradient(135deg, #c8b896 0%, #9c8a68 100%);
}
.about__portrait--single {
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-width: 460px;
  margin: 0 auto;
  background: linear-gradient(135deg, #1e3a5f 0%, #2c5079 55%, #b8975e 130%);
  box-shadow: 0 30px 70px -25px rgba(30, 58, 95, 0.4);
}
.about__portrait-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}
.about__portrait-tag {
  position: absolute;
  bottom: 14px; left: 14px;
  background: rgba(255,255,255,0.92);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--navy);
}
.about__portrait-inner {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 20px);
}

.about__copy h2 { margin-bottom: 24px; }
.about__copy p { color: var(--ink-soft); margin-bottom: 18px; font-size: 17px; line-height: 1.7; }
.about__copy p strong { color: var(--ink); font-weight: 600; }

.about__sign {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.about__sign-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  color: var(--navy);
  line-height: 1;
}
.about__sign-role {
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* =========================================================
   Portfolio
   ========================================================= */

.portfolio {
  background: var(--bg-warm);
}

.portfolio__head {
  text-align: center;
  margin-bottom: 56px;
}
.portfolio__head .section-lead { margin: 16px auto 0; }

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
@media (max-width: 880px) {
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
}

.proj {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-warm);
  aspect-ratio: 3 / 4;
  cursor: default;
  transition: transform .3s ease, box-shadow .3s ease;
  border: 1px solid var(--line);
}
.proj:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px -16px rgba(30, 58, 95, 0.28);
  border-color: rgba(184, 151, 94, 0.4);
}

.proj--lg { grid-column: span 4; aspect-ratio: 16 / 11; }
.proj--md { grid-column: span 2; }

@media (max-width: 880px) {
  .proj--lg, .proj--md { grid-column: span 2; }
  .proj--lg { aspect-ratio: 4 / 3; }
}

/* Image — scrolls vertically on hover to reveal full page */
.proj__shot {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.proj__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
  display: block;
  transition: object-position 7s cubic-bezier(.4, .1, .3, 1);
  will-change: object-position;
}
.proj:hover .proj__shot img {
  object-position: 50% 100%;
}

/* Always-visible project name chip — top-left */
.proj__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--navy);
  box-shadow: 0 4px 14px -4px rgba(30, 58, 95, 0.25);
}
.proj__tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* Hover hint — bottom-right, only on hover */
.proj__hint {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 2;
  padding: 7px 13px;
  background: rgba(30, 58, 95, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s ease, transform .3s ease;
}
.proj:hover .proj__hint {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 600px) {
  .proj__hint { display: none; }
}

/* =========================================================
   Processo
   ========================================================= */

.processo {
  background: var(--navy);
  color: #f4f1ec;
  position: relative;
  overflow: hidden;
}
.processo h2 { color: #fff; }
.processo .eyebrow { color: var(--gold-soft); }
.processo .section-lead { color: rgba(244, 241, 236, 0.7); }

.processo__moon {
  position: absolute;
  top: 8%;
  right: -8%;
  width: 40%;
  max-width: 460px;
  opacity: 0.18;
  pointer-events: none;
}

.processo__head { text-align: center; margin-bottom: 72px; position: relative; z-index: 1; }
.processo__head .section-lead { margin: 16px auto 0; }

.processo__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}
@media (max-width: 880px) { .processo__steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .processo__steps { grid-template-columns: 1fr; } }

.step {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(184, 151, 94, 0.18);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  position: relative;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.step:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(184, 151, 94, 0.45);
  transform: translateY(-4px);
}
.step__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 56px;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 18px;
  display: block;
}
.step__title {
  color: #fff;
  font-size: 24px;
  margin: 0 0 10px;
}
.step__desc {
  font-size: 14.5px;
  color: rgba(244, 241, 236, 0.7);
  line-height: 1.6;
}

/* =========================================================
   Porquê (benefits)
   ========================================================= */

.porque { background: var(--bg); }

.porque__head { margin-bottom: 56px; max-width: 640px; }

.porque__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 880px) { .porque__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .porque__grid { grid-template-columns: 1fr; } }

.benefit {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.benefit__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: var(--gold-deep);
  letter-spacing: 0.08em;
}
.benefit__title {
  font-size: 22px;
  margin: 0;
}
.benefit__desc {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* =========================================================
   Testimonials
   ========================================================= */

.testi { background: var(--bg-warm); }

.testi__head { text-align: center; margin-bottom: 56px; }

.testi__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 880px) { .testi__grid { grid-template-columns: 1fr; } }

.testi-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 36px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid var(--line);
}
.testi-card__quote {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.6;
  color: var(--gold);
  font-style: italic;
  height: 28px;
}
.testi-card__text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  flex: 1;
}
.testi-card__person {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.testi-card__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
}
.testi-card__name { font-weight: 600; font-size: 14.5px; }
.testi-card__role { font-size: 12.5px; color: var(--ink-soft); }

/* =========================================================
   FAQ
   ========================================================= */

.faq { background: var(--bg); }

.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 880px) {
  .faq__grid { grid-template-columns: 1fr; }
}

.faq__item {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  cursor: default;
}
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__icon {
  width: 32px; height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--navy);
  flex-shrink: 0;
  transition: background .2s, color .2s, transform .25s;
}
details[open] .faq__icon {
  background: var(--navy);
  color: #fff;
  transform: rotate(45deg);
}
.faq__a {
  padding-top: 14px;
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 60ch;
}

/* =========================================================
   Contacto
   ========================================================= */

.contacto {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%);
  position: relative;
  overflow: hidden;
}

.contacto__moon {
  position: absolute;
  bottom: -12%;
  left: -8%;
  width: 40%;
  max-width: 460px;
  opacity: 0.16;
  pointer-events: none;
}

.contacto__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  position: relative;
  z-index: 1;
}
@media (max-width: 880px) {
  .contacto__grid { grid-template-columns: 1fr; }
}

.contacto__copy h2 { margin-bottom: 22px; }
.contacto__copy p { color: var(--ink-soft); font-size: 17px; line-height: 1.7; margin-bottom: 32px; }

.contacto__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.contacto__list li { display: flex; align-items: center; gap: 14px; font-size: 15.5px; }
.contacto__list svg { width: 18px; height: 18px; color: var(--gold-deep); flex-shrink: 0; }
.contacto__list a { transition: color .2s; }
.contacto__list a:hover { color: var(--gold-deep); }

.form {
  background: var(--surface);
  padding: 36px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 24px 60px -28px rgba(30, 58, 95, 0.2);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }

.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__field label {
  font-size: 12.5px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  font-weight: 500;
}
.form__field input,
.form__field select,
.form__field textarea {
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--bg-warm);
  color: var(--ink);
  outline: none;
  transition: border-color .2s, background .2s;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  border-color: var(--gold);
  background: #fff;
}
.form__field textarea { resize: vertical; min-height: 110px; }

.form__submit {
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: background .2s, transform .15s;
  margin-top: 6px;
}
.form__submit:hover { background: var(--navy-deep); transform: translateY(-1px); }

.form__success {
  background: rgba(184, 151, 94, 0.12);
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  text-align: center;
}

/* =========================================================
   Footer
   ========================================================= */

.foot {
  background: var(--navy-deep);
  color: rgba(244, 241, 236, 0.75);
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}
.foot__moon {
  position: absolute;
  top: -20%;
  right: -8%;
  width: 30%;
  max-width: 340px;
  opacity: 0.14;
  pointer-events: none;
}
.foot__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}
@media (max-width: 760px) {
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.foot__logo { height: 56px; width: auto; margin-bottom: 22px; filter: brightness(0) invert(1); opacity: 0.92; }
.foot__tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  line-height: 1.4;
  color: var(--gold-soft);
  max-width: 32ch;
}
.foot h4 {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot a { transition: color .2s; font-size: 14.5px; }
.foot a:hover { color: var(--gold-soft); }

.foot__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: rgba(244, 241, 236, 0.55);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* =========================================================
   WhatsApp floating button
   ========================================================= */

.wa {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.55);
  transition: transform .25s ease, box-shadow .25s ease;
}
.wa:hover { transform: scale(1.08); box-shadow: 0 14px 36px -6px rgba(37, 211, 102, 0.7); }
.wa svg { width: 28px; height: 28px; }
.wa__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.35;
  animation: pulse 2.2s ease-out infinite;
  z-index: -1;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.35; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* =========================================================
   Scroll reveal
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.reveal--d1 { transition-delay: .08s; }
.reveal--d2 { transition-delay: .16s; }
.reveal--d3 { transition-delay: .24s; }
.reveal--d4 { transition-delay: .32s; }
.reveal--d5 { transition-delay: .40s; }
.reveal--d6 { transition-delay: .48s; }

/* =========================================================
   Font-pair variations (for Tweaks)
   ========================================================= */

[data-fontpair="cormorant-inter"] {
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', sans-serif;
}
[data-fontpair="playfair-manrope"] {
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Manrope', sans-serif;
}
[data-fontpair="dmserif-inter"] {
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', sans-serif;
}

/* =========================================================
   Moon SVG icon (used in services + accents)
   ========================================================= */

.moon-mark {
  display: inline-block;
  width: 20px;
  height: 20px;
  color: var(--gold);
}
