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

:root {
  --white: #ffffff;
  --cream: #fbf8f3;
  --paper: #f4f0ea;
  --soft: #ebe6df;
  --text: #252525;
  --muted: #77706a;
  --wine: #8c171b;
  --wine-dark: #651013;
  --line: rgba(34, 30, 26, 0.12);
  --dark: #222222;
  --dark-2: #171717;
  --shadow: 0 24px 60px rgba(37, 31, 28, 0.10);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--cream);
  transition: opacity .6s ease, visibility .6s ease;
}

.page-loader span {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border: 1px solid var(--wine);
  color: var(--wine);
  font: 700 2rem var(--serif);
  letter-spacing: .08em;
  animation: pulse 1s ease-in-out infinite alternate;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

@keyframes pulse {
  to {
    transform: scale(1.06);
    box-shadow: 0 0 42px rgba(140, 23, 27, .18);
  }
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  padding: 22px 0;
  background: rgba(251, 248, 243, .88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: padding .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
  padding: 14px 0;
  border-color: var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .05);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.brand,
.footer-brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .23em;
}

.brand strong,
.footer-brand strong {
  font-family: var(--serif);
  font-size: 1.22rem;
  letter-spacing: .26em;
}

.brand span,
.footer-brand span {
  margin-top: 7px;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .62em;
}

.main-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 34px;
  color: #3d3a36;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.main-nav a {
  position: relative;
  transition: color .25s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--wine);
  transition: width .25s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--wine);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  width: 100%;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
  font-weight: 800;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.header-cta,
.btn-primary {
  background: var(--wine);
  color: var(--white);
  box-shadow: 0 18px 34px rgba(140, 23, 27, .14);
}

.btn-secondary {
  color: var(--wine);
  background: transparent;
  border: 1px solid rgba(140, 23, 27, .22);
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 42px rgba(140, 23, 27, .18);
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1002;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: transform .25s ease, opacity .25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 710px;
  padding: 145px 0 80px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(251, 248, 243, .96) 0%, rgba(251, 248, 243, .94) 36%, rgba(251, 248, 243, .72) 58%, rgba(251, 248, 243, .38) 74%, rgba(251, 248, 243, .22) 100%),
    url('assets/hero-background.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-soft {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.42), transparent 55%),
    linear-gradient(180deg, transparent 0 80%, #fff 100%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 24px;
}

.hero-content {
  max-width: 650px;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  color: var(--wine);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  font-weight: 900;
  margin-bottom: 20px;
}

.hero h1,
.section-copy h2,
.section-heading h2,
.contact-content h2,
.blog-card h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.035em;
}

.hero h1 {
  font-size: clamp(3.4rem, 6.2vw, 6.4rem);
  max-width: 650px;
  margin-bottom: 22px;
}

.accent-line,
.small-line {
  display: block;
  width: 42px;
  height: 2px;
  background: var(--wine);
}

.hero p {
  color: var(--muted);
  max-width: 450px;
  margin: 22px 0 28px;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}



.testimonial-card {
  position: absolute;
  left: clamp(280px, 39vw, 560px);
  bottom: 18px;
  z-index: 4;
  width: min(330px, 90vw);
  padding: 28px 32px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.72);
}

.quote-icon {
  color: var(--wine);
  font: 700 4rem var(--serif);
  line-height: .4;
  margin-bottom: 16px;
}

.testimonial-card p {
  margin: 0;
  color: #68605b;
  font-size: .92rem;
}

.testimonial-line {
  height: 1px;
  background: var(--line);
  margin: 18px 0 14px;
}

.testimonial-card strong {
  display: block;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: .04em;
}

.testimonial-card span {
  color: var(--muted);
  font-size: .86rem;
}

.about {
  padding: 96px 0 84px;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: .95fr 1.25fr;
  gap: 76px;
  align-items: center;
}

.section-copy {
  padding-right: 44px;
  border-right: 1px solid var(--line);
}

.section-copy h2,
.section-heading h2,
.contact-content h2,
.blog-card h2 {
  font-size: clamp(2.4rem, 3.8vw, 4.1rem);
  margin-bottom: 18px;
}

.section-copy p,
.section-heading p,
.contact-content p,
.blog-card p {
  color: var(--muted);
}

.section-copy p {
  margin: 22px 0 24px;
  max-width: 450px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--wine);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  font-weight: 900;
}

.text-link::after {
  content: '›';
  font-size: 1.35rem;
  line-height: 0;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
}

.about-feature h3,
.value-card h3,
.practice-card h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.1;
  margin: 18px 0 12px;
}

.about-feature p,
.value-card p,
.practice-card p {
  color: var(--muted);
  font-size: .94rem;
}

.line-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  color: #9c8277;
}

.line-icon svg {
  width: 46px;
  height: 46px;
  stroke: currentColor;
  stroke-width: 1.25;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.small-line {
  width: 38px;
  margin-top: 22px;
}

.values {
  padding: 44px 0;
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.value-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 22px;
  align-items: start;
  padding: 28px 36px;
  border-right: 1px solid var(--line);
}

.value-card:last-child {
  border-right: 0;
}

.value-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(140, 23, 27, .06);
  color: #7f6f67;
  font-size: 1.55rem;
}

.practice {
  padding: 96px 0;
  background: #fffdf9;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.practice-card {
  min-height: 250px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.62);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.practice-card:hover {
  transform: translateY(-6px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.practice-card span {
  display: inline-flex;
  color: var(--wine);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .15em;
  margin-bottom: 40px;
}

.blog-preview {
  padding: 34px 0 84px;
  background: #fffdf9;
}

.blog-card {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(0,0,0,.04);
}

.blog-card h2 {
  max-width: 610px;
  margin-bottom: 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(320px, .85fr) minmax(420px, 1.15fr);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.contact-image {
  min-height: 520px;
  background: var(--paper);
  overflow: hidden;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-content {
  padding: 74px min(7vw, 90px);
}

.contact-content p {
  margin-bottom: 28px;
}

.contact-form {
  display: grid;
  gap: 12px;
  max-width: 650px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  padding: 15px 16px;
  outline: 0;
  resize: vertical;
  transition: border-color .2s ease, box-shadow .2s ease;
}

input:focus,
textarea:focus {
  border-color: rgba(140, 23, 27, .45);
  box-shadow: 0 0 0 4px rgba(140, 23, 27, .06);
}

.form-feedback {
  min-height: 22px;
  color: var(--wine);
  font-weight: 700;
  font-size: .9rem;
}

.footer {
  background: linear-gradient(135deg, #262626, #171717);
  color: rgba(255, 255, 255, .76);
  padding: 66px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .75fr 1fr 1.15fr;
  gap: 56px;
  padding-bottom: 56px;
}

.footer-brand strong,
.footer-brand span {
  color: #fff;
}

.footer-brand p {
  margin-top: 24px;
  max-width: 280px;
}

.footer h3 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .75rem;
  margin-bottom: 22px;
}

.footer a,
.footer p {
  display: block;
  margin-bottom: 10px;
  font-size: .92rem;
}

.footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255,255,255,.55);
  font-size: .78rem;
}

.footer-bottom div {
  display: flex;
  gap: 24px;
}

.whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--wine);
  box-shadow: 0 18px 40px rgba(140, 23, 27, .28);
  font-weight: 900;
  font-size: 1.35rem;
  transition: transform .25s ease;
}

.whatsapp:hover {
  transform: translateY(-4px) scale(1.04);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }


@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: auto auto;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 1003;
  }

  .menu-toggle.is-open {
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .08);
  }

  .menu-toggle.is-open span {
    background: var(--white);
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1002;
    width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(22px, 4vh, 34px);
    padding: clamp(34px, 9vw, 72px);
    color: var(--white);
    background:
      radial-gradient(circle at 88% 12%, rgba(140, 23, 27, .24), transparent 34%),
      linear-gradient(135deg, rgba(24, 24, 24, .98), rgba(11, 11, 11, .98));
    transform: translateX(100%);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: transform .42s cubic-bezier(.77,0,.175,1), opacity .28s ease, visibility .28s ease;
  }

  .main-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    color: rgba(255, 255, 255, .88);
    font-family: var(--serif);
    font-size: clamp(2.1rem, 8vw, 4.8rem);
    font-weight: 500;
    line-height: .95;
    letter-spacing: -.035em;
    text-transform: none;
  }

  .main-nav a::after {
    bottom: -10px;
    height: 2px;
    background: var(--wine);
  }

  .main-nav a:hover,
  .main-nav a.is-active {
    color: var(--white);
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .site-header {
    background: transparent;
    border-bottom: 0;
    backdrop-filter: none;
  }

  .hero-grid,
  .about-grid,
  .contact,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    background-position: 72% center;
  }

  .testimonial-card {
    position: relative;
    left: auto;
    bottom: auto;
    justify-self: start;
    width: min(380px, 100%);
    max-width: 100%;
    margin-top: 30px;
    padding: 24px 26px;
    box-sizing: border-box;
  }
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 28px);
  }

  .site-header {
    padding: 12px 0;
  }

  .brand strong {
    font-size: .95rem;
    letter-spacing: .16em;
  }

  .brand span {
    font-size: .5rem;
    letter-spacing: .38em;
  }

  .hero {
    padding: 118px 0 58px;
    background-position: 78% center;
  }

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

  .hero p {
    max-width: 100%;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .testimonial-card {
    width: 100%;
    margin-top: 28px;
    padding: 22px;
  }

  .quote-icon {
    font-size: 3.2rem;
    margin-bottom: 12px;
  }

  .testimonial-card p {
    font-size: .88rem;
  }

  .about {
    padding: 72px 0;
  }

  .about-features,
  .values-grid,
  .practice-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .value-card,
  .value-card:nth-child(2),
  .value-card:last-child {
    grid-column: auto;
    border-right: 0;
    border-top: 1px solid var(--line);
    padding-inline: 18px;
  }

  .value-card:first-child {
    border-top: 0;
  }

  .practice-card {
    min-height: auto;
    padding: 28px;
  }

  .practice-card span {
    margin-bottom: 22px;
  }

  .blog-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
  }

  .contact-image {
    min-height: 320px;
  }

  .contact-content {
    padding: 58px 20px;
  }

  .footer-bottom,
  .footer-bottom div {
    flex-direction: column;
  }

  .whatsapp {
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: clamp(2.75rem, 14vw, 4rem);
  }

  .main-nav a {
    font-size: clamp(2rem, 11vw, 3.3rem);
  }
}

