:root {
  --bg: #f7f0ea;
  --bg-soft: #fffaf6;
  --ink: #171313;
  --muted: #766a64;
  --brand: #9b6044;
  --brand-dark: #513527;
  --line: rgba(23, 19, 19, .12);
  --card: rgba(255, 255, 255, .78);
  --shadow: 0 24px 80px rgba(31, 19, 14, .16);
  --radius: 28px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(155,96,68,.35), transparent 32%),
    linear-gradient(135deg, #1c1412 0%, #5b3c30 42%, #f0d5c5 100%);
  color: #fff;
}
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 1;
}

.navbar {
  width: min(1180px, calc(100% - 36px));
  height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}
.brand svg {
  width: clamp(220px, 18vw, 292px);
  height: auto;
  display: block;
}
.brand-symbol {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.44);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Playfair Display", serif;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  display: inline-flex;
  padding: 11px 14px;
  border-radius: 999px;
  color: rgba(255,255,255,.84);
  font-size: 14px;
  font-weight: 500;
  transition: .25s ease;
}
.nav-links a:hover, .nav-links .nav-cta {
  color: #1b1210;
  background: #fff;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  margin: 4px auto;
  transition: .25s ease;
}

.hero {
  width: min(1180px, calc(100% - 36px));
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: 56px;
  padding: 56px 0 92px;
}
.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  padding: 8px 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
}
.hero .eyebrow { color: #ffd9c8; }
h1, h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: .94;
  letter-spacing: -.045em;
}
h1 { font-size: clamp(64px, 10vw, 138px); max-width: 760px; }
.hero-title {
  position: relative;
  display: grid;
  width: fit-content;
  max-width: 760px;
  color: #fff;
  text-shadow: 0 18px 46px rgba(0,0,0,.16);
}
.hero-title span {
  position: relative;
  display: block;
  width: fit-content;
  color: rgba(255, 244, 238, .16);
  -webkit-text-stroke: 0;
  text-stroke: 0;
  transform-origin: left center;
  text-shadow: 0 0 20px rgba(255, 217, 200, .1);
}
.hero-title span:nth-child(2) {
  animation-delay: .18s;
}
.hero-title span:nth-child(3) {
  animation-delay: .36s;
}
.hero-title span::before,
.hero-title span::after {
  content: attr(data-word);
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-title span::before {
  background:
    linear-gradient(105deg, rgba(255,255,255,.92) 0%, #fff 42%, #f8d6c6 54%, rgba(255,255,255,.96) 68%, rgba(255,255,255,.9) 100%);
  background-size: 280% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0;
  text-stroke: 0;
  clip-path: inset(0 100% 0 0);
  animation: fillTitleLetters 8.8s cubic-bezier(.45, 0, .2, 1) infinite;
}
.hero-title span::after {
  width: 14%;
  color: transparent;
  background: linear-gradient(90deg, transparent, rgba(255, 217, 200, .42), transparent);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(255, 217, 200, .16));
  overflow: hidden;
  animation: titleLightEdge 8.8s cubic-bezier(.45, 0, .2, 1) infinite;
}
.hero-title span:nth-child(2)::before,
.hero-title span:nth-child(2)::after {
  animation-delay: .42s;
}
.hero-title span:nth-child(3)::before,
.hero-title span:nth-child(3)::after {
  animation-delay: .84s;
}
h2 { font-size: clamp(42px, 6vw, 82px); }
.hero-copy p {
  max-width: 540px;
  margin-top: 24px;
  color: rgba(255, 244, 238, .82);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 600;
  line-height: 1.48;
  letter-spacing: .01em;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--ink); color: #fff; box-shadow: 0 16px 34px rgba(0,0,0,.18); }
.hero .button.primary { background: #fff; color: #1b1210; }
.button.ghost { border: 1px solid rgba(255,255,255,.38); color: #fff; }

.hero-gallery {
  min-height: 690px;
  position: relative;
  isolation: isolate;
}
.hero-gallery::before {
  content: "";
  position: absolute;
  inset: 7% 5% 3% 16%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,217,200,.28), transparent 62%);
  filter: blur(28px);
  animation: auraDrift 9s ease-in-out infinite;
  z-index: -1;
}
.hero-img {
  position: absolute;
  object-fit: cover;
  border-radius: 999px 999px 30px 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.22);
  will-change: transform, filter;
}
.hero-img-large {
  width: min(72%, 460px);
  height: 680px;
  right: 72px;
  top: 0;
  animation: floatLarge 8s ease-in-out infinite;
}
.hero-img-small {
  width: 260px;
  height: 350px;
  border-radius: 28px;
}
.hero-img-small.top {
  left: 0;
  top: 78px;
  animation: floatTop 7s ease-in-out infinite;
}
.hero-img-small.bottom {
  right: 0;
  bottom: 16px;
  animation: floatBottom 7.8s ease-in-out infinite;
}

@keyframes fillTitleLetters {
  0%, 10% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    background-position: 130% 0;
  }
  28% {
    opacity: .92;
    clip-path: inset(0 52% 0 0);
  }
  52% {
    opacity: .96;
    clip-path: inset(0 0 0 0);
    background-position: 8% 0;
  }
  74% {
    opacity: .9;
    clip-path: inset(0 0 0 0);
    background-position: -28% 0;
  }
  92% {
    opacity: .18;
    clip-path: inset(0 0 0 0);
    background-position: -58% 0;
  }
  100% {
    opacity: 0;
    clip-path: inset(0 0 0 0);
    background-position: -70% 0;
  }
}

@keyframes titleLightEdge {
  0%, 12% {
    opacity: 0;
    transform: translateX(-120%);
  }
  24% {
    opacity: .72;
  }
  58% {
    opacity: .56;
    transform: translateX(610%);
  }
  82% {
    opacity: .12;
    transform: translateX(680%);
  }
  100% {
    opacity: 0;
    transform: translateX(720%);
  }
}

@keyframes auraDrift {
  0%, 100% {
    opacity: .62;
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    opacity: .95;
    transform: translate3d(-18px, 16px, 0) scale(1.08);
  }
}

@keyframes floatLarge {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); filter: saturate(1); }
  50% { transform: translate3d(0, -14px, 0) scale(1.012); filter: saturate(1.06); }
}

@keyframes floatTop {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(-8px, 12px, 0) rotate(-1.2deg); }
}

@keyframes floatBottom {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(10px, -12px, 0) rotate(1.1deg); }
}

.intro-strip {
  width: min(1180px, calc(100% - 36px));
  margin: -54px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.intro-strip div { padding: 24px; border-radius: 22px; background: var(--bg-soft); }
.intro-strip strong { display: block; font-family: "Playfair Display", serif; font-size: 28px; }
.intro-strip span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 120px auto 0;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 56px;
  align-items: center;
}
.section.about .section-media img,
.seo-content .section-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.section-copy p {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.72;
  font-size: 16px;
}
.work { grid-template-columns: 1fr 1fr; }
.work-cards { display: grid; gap: 16px; }
.work-cards article {
  padding: 26px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 14px 44px rgba(31, 19, 14, .08);
}
.work-cards span { color: var(--brand); font-weight: 650; }
.work-cards h3 { margin-top: 10px; font-size: 22px; }
.work-cards p { margin-top: 8px; color: var(--muted); line-height: 1.6; }

.services {
  width: min(1180px, calc(100% - 36px));
  margin: 130px auto 0;
}
.services-heading {
  max-width: 850px;
}
.services-heading p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}
.service-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-grid article {
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg-soft);
  box-shadow: 0 14px 44px rgba(31, 19, 14, .08);
}
.service-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.service-grid h3 {
  max-width: 280px;
  font-size: 26px;
  line-height: 1.08;
}
.service-grid p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.65;
}
.seo-content {
  width: min(1180px, calc(100% - 36px));
  margin: 120px auto 0;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.faq-section {
  width: min(1180px, calc(100% - 36px));
  margin: 120px auto 0;
}
.faq-heading {
  max-width: 820px;
}
.faq-heading p {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 17px;
}
.accordion {
  margin-top: 34px;
  display: grid;
  gap: 12px;
}
.accordion details {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 250, 246, .82);
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(31, 19, 14, .06);
}
.accordion summary {
  position: relative;
  min-height: 68px;
  padding: 22px 58px 22px 24px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 650;
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  transform: translateY(-50%);
}
.accordion details[open] summary::after { content: "-"; }
.accordion p {
  padding: 0 24px 24px;
  color: var(--muted);
  line-height: 1.7;
}

.portfolio {
  width: min(1180px, calc(100% - 36px));
  margin: 130px auto 0;
}
.portfolio-heading { max-width: 760px; }
.portfolio-heading p { margin-top: 18px; color: var(--muted); line-height: 1.7; }
.gallery {
  margin-top: 42px;
  columns: 4 240px;
  column-gap: 16px;
}
.gallery-item {
  width: 100%;
  margin: 0 0 16px;
  border: 0;
  padding: 0;
  display: block;
  overflow: hidden;
  border-radius: 24px;
  background: #ddd;
  cursor: zoom-in;
  break-inside: avoid;
  box-shadow: 0 14px 34px rgba(31, 19, 14, .10);
}
.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform .55s ease, filter .55s ease;
}
.gallery-item:hover img { transform: scale(1.055); filter: contrast(1.05) saturate(1.08); }

.contact {
  width: min(1180px, calc(100% - 36px));
  margin: 130px auto 80px;
}
.contact-card {
  padding: clamp(28px, 7vw, 74px);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(23,19,19,.94), rgba(81,53,39,.92)),
    url('fotos/HVN_848.webp') center/cover;
  color: #fff;
  box-shadow: var(--shadow);
}
.contact-card .eyebrow { color: #ffd9c8; }
.contact-copy {
  max-width: 760px;
}
.contact-card p {
  max-width: 680px;
  margin-top: 20px;
  color: rgba(255,255,255,.78);
  line-height: 1.72;
}
.contact-panel {
  margin-top: 38px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 18px;
  align-items: stretch;
}
.qr-card,
.contact-link {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(14px);
  transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.qr-card:hover,
.contact-link:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.42);
  background: rgba(255,255,255,.16);
  box-shadow: 0 18px 44px rgba(0,0,0,.22);
}
.qr-card {
  min-height: 270px;
  padding: 18px;
  border-radius: 28px;
  display: grid;
  align-content: space-between;
  justify-items: center;
  text-align: center;
}
.qr-card span,
.contact-link span {
  color: #ffd9c8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.qr-card img {
  width: 160px;
  padding: 12px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(0,0,0,.2);
}
.qr-card strong,
.contact-link strong {
  color: #fff;
  line-height: 1.35;
}
.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.contact-link {
  min-height: 128px;
  padding: 22px;
  border-radius: 24px;
  display: grid;
  align-content: space-between;
  position: relative;
  overflow: hidden;
}
.contact-link::after {
  content: "↗";
  position: absolute;
  right: 18px;
  top: 16px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  color: #fff;
  transition: transform .25s ease, background .25s ease;
}
.contact-link:hover::after {
  transform: translate(3px, -3px);
  background: #fff;
  color: #1b1210;
}
.contact-link.featured {
  background: #fff;
}
.contact-link.featured span { color: var(--brand); }
.contact-link.featured strong { color: #1b1210; }
.contact-link.featured::after {
  background: #1b1210;
  color: #fff;
}

.footer {
  padding: 22px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.side-nav {
  position: fixed;
  top: 50%;
  right: 22px;
  z-index: 30;
  display: grid;
  gap: 12px;
  padding: 14px 10px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(23, 19, 19, .54);
  box-shadow: 0 20px 54px rgba(31, 19, 14, .18);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translate(14px, -50%);
  transition: opacity .3s ease, transform .3s ease, background .3s ease;
}
.side-nav.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%);
}
.side-nav a {
  position: relative;
  width: 14px;
  height: 14px;
  display: block;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.side-nav a::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background: #fff;
  opacity: 0;
  transform: scale(.45);
  transition: opacity .25s ease, transform .25s ease;
}
.side-nav a span {
  position: absolute;
  top: 50%;
  right: 24px;
  min-width: max-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff;
  color: #1b1210;
  font-size: 12px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity .22s ease, transform .22s ease;
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}
.side-nav a:hover,
.side-nav a.active {
  border-color: #fff;
  background: rgba(255,255,255,.26);
  transform: scale(1.18);
}
.side-nav a:hover::before,
.side-nav a.active::before {
  opacity: 1;
  transform: scale(1);
}
.side-nav a:hover span,
.side-nav a:focus-visible span {
  opacity: 1;
  transform: translate(0, -50%);
}
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: .25s ease;
  z-index: 12;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 99;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; border-radius: 20px; box-shadow: 0 30px 90px rgba(0,0,0,.45); }
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 30px;
  cursor: pointer;
}
.reveal { opacity: 0; transform: translateY(24px); transition: .75s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .side-nav { display: none; }
  .navbar { height: 72px; }
  .menu-toggle { display: block; position: relative; z-index: 12; }
  .nav-links {
    position: fixed;
    inset: 0 0 auto 0;
    min-height: 100vh;
    padding: 92px 22px 22px;
    background: rgba(23,19,19,.96);
    display: grid;
    align-content: start;
    gap: 12px;
    transform: translateX(100%);
    transition: .3s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { width: 100%; justify-content: center; font-size: 18px; padding: 16px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 28px; }
  .hero-gallery { min-height: 540px; }
  .hero-img-large { height: 530px; right: 8%; }
  .hero-img-small { width: 200px; height: 250px; }
  .intro-strip { grid-template-columns: 1fr; margin-top: -38px; }
  .section, .work, .seo-content { grid-template-columns: 1fr; margin-top: 86px; gap: 30px; }
  .services { margin-top: 86px; }
  .faq-section { margin-top: 86px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: auto; }
  .contact-panel { grid-template-columns: 1fr; }
  .contact-actions { grid-template-columns: 1fr; }
  .qr-card { min-height: auto; gap: 16px; }
}

@media (max-width: 560px) {
  .navbar, .hero, .intro-strip, .section, .services, .seo-content, .faq-section, .portfolio, .contact { width: min(100% - 28px, 1180px); }
  .brand span:last-child { display: none; }
  .brand svg { width: 190px; }
  h1 { font-size: 58px; }
  h2 { font-size: 42px; }
  .hero-copy p { font-size: 16px; }
  .hero-gallery { min-height: 420px; }
  .hero-img-large { width: 76%; height: 410px; right: 0; }
  .hero-img-small { width: 150px; height: 190px; }
  .hero-img-small.top { top: 44px; }
  .hero-img-small.bottom { bottom: 0; }
  .gallery { columns: 2 150px; column-gap: 10px; }
  .gallery-item { border-radius: 16px; margin-bottom: 10px; }
  .service-grid article { padding: 24px; border-radius: 18px; }
  .service-grid h3 { font-size: 23px; }
  .accordion summary { padding: 20px 54px 20px 20px; }
  .accordion p { padding: 0 20px 20px; }
  .contact-card { border-radius: 24px; }
  .contact-link { min-height: 112px; padding: 20px; }
  .qr-card img { width: 145px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1,
  .hero-title,
  .hero-title::before,
  .hero-title::after,
  .hero-title span,
  .hero-title span::before,
  .hero-title span::after,
  .site-header::after,
  .hero-gallery::before,
  .hero-img-large,
  .hero-img-small.top,
  .hero-img-small.bottom {
    animation: none;
  }

  .hero h1 {
    color: #fff;
    background: none;
  }

  .hero-title span {
    color: #fff;
    background: none;
    -webkit-text-stroke: 0;
    text-stroke: 0;
  }

  .hero-title::before,
  .hero-title::after,
  .hero-title span::before,
  .hero-title span::after {
    display: none;
  }
}
