:root {
  --bg: #f1ece3;
  --bg-strong: #e7dece;
  --surface: rgba(251, 248, 243, 0.78);
  --surface-strong: rgba(247, 242, 234, 0.92);
  --ink: #1d221f;
  --muted: #5f655f;
  --line: rgba(29, 34, 31, 0.12);
  --accent: #345344;
  --accent-soft: rgba(52, 83, 68, 0.12);
  --accent-warm: #78583c;
  --shadow: 0 18px 60px rgba(33, 29, 23, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(120, 88, 60, 0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(52, 83, 68, 0.16), transparent 35%),
    linear-gradient(180deg, #f7f1e8 0%, #efe6d7 100%);
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

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

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

.site-shell {
  position: relative;
  overflow: hidden;
}

.ambient {
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
  filter: blur(14px);
  opacity: 0.7;
}

.ambient-one {
  top: 10vh;
  left: -8rem;
  width: 22rem;
  height: 22rem;
  background: radial-gradient(circle, rgba(120, 88, 60, 0.14), transparent 70%);
}

.ambient-two {
  right: -6rem;
  bottom: 12vh;
  width: 26rem;
  height: 26rem;
  background: radial-gradient(circle, rgba(52, 83, 68, 0.12), transparent 70%);
}

.topbar,
.section,
.footer {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(29, 34, 31, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid rgba(29, 34, 31, 0.18);
  background: rgba(255, 255, 255, 0.42);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.brand-copy strong {
  font-size: 0.96rem;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3.2rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--ink);
  color: #f9f4eb;
  font-weight: 700;
  font-size: 0.96rem;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(29, 34, 31, 0.18);
}

.button-ghost {
  border-color: rgba(29, 34, 31, 0.18);
  background: rgba(255, 255, 255, 0.32);
  color: rgba(29, 34, 31, 0.9);
  font-weight: 600;
}

.section {
  padding: 1.2rem 0 3.8rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: 1.8rem;
  padding-top: 3rem;
  min-height: calc(100vh - 6rem);
  align-items: center;
}

.hero-copy,
.contact-copy {
  max-width: 40rem;
}

.hero-copy {
  max-width: 33rem;
}

.eyebrow,
.panel-kicker,
.service-label,
.timeline-step {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 800;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 12.5ch;
  font-size: clamp(3rem, 6vw, 4.85rem);
  margin-top: 0.8rem;
  line-height: 0.98;
}

body[data-page="home"] .hero h1 {
  max-width: 13.5ch;
  font-size: clamp(2.45rem, 4.8vw, 3.8rem);
  line-height: 1;
}

.hero-lead,
.section-heading,
.panel-card p,
.service-summary,
.service-list,
.faq-item p,
.contact-copy p {
  color: var(--muted);
}

.hero-lead {
  max-width: 35rem;
  font-size: 1.14rem;
  line-height: 1.78;
  margin: 1.2rem 0 0;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.hero-notes,
.stack-list,
.benefits-grid,
.services-grid,
.timeline,
.faq-list {
  display: grid;
  gap: 1rem;
}

.hero-notes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.2rem;
}

.hero-note,
.stack-item {
  padding: 1rem 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(8px);
  line-height: 1.58;
}

.hero-panel,
.profile-aside {
  display: grid;
  gap: 1rem;
}

.hero-panel {
  align-content: start;
  width: 100%;
}

.panel-card {
  position: relative;
  padding: 1.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-card {
  background:
    linear-gradient(145deg, rgba(29, 34, 31, 0.96), rgba(52, 83, 68, 0.88));
  color: #f5efe6;
  padding: 1.35rem 1.35rem 1.45rem;
  width: 100%;
}

.hero-card .panel-kicker,
.hero-card p {
  color: rgba(245, 239, 230, 0.78);
}

.hero-card h2 {
  margin: 0.35rem 0 0.75rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.55rem, 2vw, 1.92rem);
  line-height: 1.12;
  width: 100%;
  max-width: 100%;
  text-wrap: wrap;
}

.portrait-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  overflow: hidden;
  padding: 0;
}

.portrait-media {
  position: relative;
  aspect-ratio: 1 / 1.08;
  min-height: 100%;
  overflow: hidden;
}

.portrait-fallback,
#profile-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.portrait-fallback {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top, rgba(120, 88, 60, 0.18), transparent 35%),
    linear-gradient(145deg, rgba(29, 34, 31, 0.94), rgba(52, 83, 68, 0.92));
  color: rgba(248, 241, 230, 0.9);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 10vw, 5rem);
  letter-spacing: 0.08em;
}

#profile-photo {
  object-fit: cover;
  object-position: center 18%;
}

.portrait-caption {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  padding: 1.25rem 1.4rem 1.35rem;
}

.portrait-identity {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}

.portrait-mark {
  width: 2.7rem;
  height: 2.7rem;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.6);
}

.portrait-caption .panel-kicker {
  margin: 0 0 0.18rem;
}

.portrait-caption strong {
  display: block;
  font-size: 1.05rem;
}

.portrait-caption p:last-child {
  margin: 0;
  line-height: 1.62;
}

.section-heading {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.35rem;
  max-width: 46rem;
}

.section-heading h2 {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  max-width: 22ch;
  text-wrap: wrap;
  line-height: 1.02;
}

.services .section-heading h2,
.proposition .section-heading h2,
.faq .section-heading h2 {
  width: 100%;
  max-width: 100%;
  font-size: clamp(1.95rem, 3.25vw, 2.85rem);
}

.process .section-heading h2 {
  width: 100%;
  max-width: 100%;
  max-inline-size: 100%;
  font-size: clamp(1.95rem, 3.2vw, 2.9rem);
  text-wrap: wrap;
}

.process .section-heading {
  width: 100%;
  max-width: 100%;
}

.services .section-heading,
.proposition .section-heading,
.profile .section-heading,
.faq .section-heading {
  width: 100%;
  max-width: 100%;
}

.profile .section-heading h2,
.contact .section-heading h2 {
  width: 100%;
  max-width: 100%;
  font-size: clamp(1.95rem, 3.2vw, 2.8rem);
}

.credentials-card .panel-kicker,
.credentials-card .stack-item {
  width: 100%;
  max-width: 100%;
}

.credentials-card .stack-item {
  font-size: 0.98rem;
  line-height: 1.5;
}

.proposition-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.trust-strip-section {
  padding-top: 0;
  padding-bottom: 2.6rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.trust-item {
  padding: 1.2rem 1.25rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
}

.trust-item p:last-child {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.emphasis {
  padding: 1.45rem 1.5rem;
  background:
    linear-gradient(180deg, rgba(120, 88, 60, 0.1), rgba(255, 255, 255, 0.38));
  font-size: 1.05rem;
  line-height: 1.82;
  align-self: start;
}

.emphasis p {
  margin: 0;
}

.benefits-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1.1rem;
}

.benefit-card {
  min-height: 100%;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.service-card {
  position: relative;
  padding: 1.75rem 1.6rem 1.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(247, 241, 233, 0.86));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 0.45rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
  opacity: 0.8;
}

.service-card h3 {
  margin: 0.55rem 0 0.85rem;
  font-size: 1.34rem;
  line-height: 1.16;
  max-width: 18ch;
}

.service-summary {
  line-height: 1.68;
  max-width: 30ch;
}

.service-list {
  margin: 1.1rem 0 0;
  padding-left: 1rem;
  line-height: 1.72;
}

.service-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.01em;
}

.service-link::after {
  content: "->";
  margin-left: 0.45rem;
  font-size: 0.95em;
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.95rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) + 2px);
  background:
    linear-gradient(140deg, rgba(120, 88, 60, 0.12), rgba(255, 255, 255, 0.46)),
    rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
}

.cta-card h2 {
  margin: 0.5rem 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
}

.cta-text {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.72;
  max-width: 34rem;
}

.cta-actions {
  display: grid;
  gap: 0.8rem;
  min-width: 220px;
}

.profile-layout,
.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 1rem;
}

.profile-layout {
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: start;
}

.profile-main {
  display: block;
  align-self: start;
}

.profile-main p {
  font-size: 1.04rem;
  line-height: 1.82;
  max-width: 38rem;
}

.profile-actions {
  margin-top: 1.35rem;
}

.timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-card {
  padding: 1.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.timeline-card h3 {
  margin: 0.9rem 0 0.8rem;
  font-size: 1.2rem;
}

.timeline-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.faq-list {
  max-width: 860px;
}

.faq-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}

.faq .section-heading {
  margin-bottom: 0.35rem;
  position: static;
}

.faq .section-heading h2 {
  max-width: none;
}

.faq .faq-list {
  max-width: none;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.5);
  padding: 0 1.2rem;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 0;
  font-weight: 700;
  line-height: 1.45;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0 0 1.2rem;
  line-height: 1.68;
}

.contact-shell {
  padding: 2.2rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) + 6px);
  background:
    linear-gradient(135deg, rgba(29, 34, 31, 0.94), rgba(52, 83, 68, 0.9)),
    rgba(29, 34, 31, 0.95);
  color: #f8f1e6;
  box-shadow: var(--shadow);
}

.contact-shell .eyebrow,
.contact-shell p,
.contact-shell .panel-kicker,
.contact-shell span {
  color: rgba(248, 241, 230, 0.76);
}

.contact-shell h2 {
  margin: 0.7rem 0 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1;
}

.contact-shell .button {
  background: #f8f1e6;
  color: var(--ink);
}

.contact-shell .button-ghost {
  background: transparent;
  border-color: rgba(248, 241, 230, 0.22);
  color: #f8f1e6;
}

.contact-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(248, 241, 230, 0.14);
}

.contact-detail {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(248, 241, 230, 0.12);
}

.contact-detail:last-child {
  border-bottom: 0;
}

.contact-detail a {
  color: #f8f1e6;
  font-weight: 700;
}

.contact-meta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(248, 241, 230, 0.12);
}

.contact-meta p {
  margin: 0;
  line-height: 1.6;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 1.1rem;
  align-items: start;
}

.contact-info-group {
  display: grid;
}

.qr-block {
  margin: 0;
  display: grid;
  gap: 0.8rem;
  justify-items: center;
  text-align: center;
}

.qr-image {
  width: 100%;
  max-width: 180px;
  border-radius: 18px;
  background: #ffffff;
  padding: 0.45rem;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
}

.qr-block strong {
  display: block;
  color: #f8f1e6;
  margin-bottom: 0.3rem;
}

.qr-block p {
  margin: 0;
  line-height: 1.65;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0 2.2rem;
  color: var(--muted);
  border-top: 1px solid rgba(29, 34, 31, 0.08);
}

.footer p {
  margin: 0.35rem 0 0;
}

.footer-link {
  color: var(--ink);
  font-weight: 700;
}

.floating-whatsapp {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9.5rem;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(247, 243, 235, 0.2);
  background: linear-gradient(135deg, #204d3a, #16392b);
  color: #f7f3eb;
  box-shadow: 0 18px 30px rgba(32, 77, 58, 0.28);
  font-weight: 800;
}

@media (max-width: 1100px) {
  .hero,
  .proposition-grid,
  .profile-layout,
  .contact-shell,
  .timeline,
  .faq-shell,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .portrait-card {
    grid-template-columns: 1fr;
  }

  .portrait-media,
  .portrait-fallback,
  #profile-photo {
    min-height: auto;
    height: 100%;
  }

  .section-heading h2,
  .hero h1 {
    max-width: none;
  }

  .emphasis,
  .profile-main {
    grid-column: auto;
  }
}

@media (max-width: 820px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .nav {
    justify-content: flex-start;
  }

  .header-cta {
    width: 100%;
  }

  .hero-notes,
  .benefits-grid,
  .services-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .faq .section-heading {
    position: static;
  }

  .section {
    padding: 1rem 0 3.2rem;
  }

  .contact-shell {
    padding: 1.4rem;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-card-grid {
    grid-template-columns: 1fr;
  }

  .qr-block {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .topbar,
  .section,
  .footer {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .hero h1 {
    font-size: clamp(2.7rem, 15vw, 4rem);
  }

  .section-heading h2,
  .contact-shell h2 {
    font-size: clamp(2rem, 11vw, 2.9rem);
  }

  .button,
  .floating-whatsapp {
    width: 100%;
  }

  .hero-actions {
    display: grid;
  }
}
