:root {
  --ink: #21182c;
  --muted: #6e6577;
  --paper: #fbfafc;
  --white: #ffffff;
  --purple: #552477;
  --purple-deep: #2d1647;
  --purple-soft: #8a61a4;
  --gold: #f3bb3f;
  --gold-soft: #ffe8a3;
  --line: rgba(85, 36, 119, .16);
  --shadow: 0 22px 60px rgba(45, 22, 71, .14);
  --radius: 28px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 110px 0; }

.skip-link {
  position: fixed; left: 12px; top: -100px; z-index: 9999;
  background: var(--white); color: var(--purple-deep); padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(251, 250, 252, .86);
  border-bottom: 1px solid rgba(85,36,119,.08);
  backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center;
  color: var(--white); background: linear-gradient(145deg, var(--purple), var(--purple-deep));
  font-weight: 900; letter-spacing: -.04em; box-shadow: 0 9px 24px rgba(85,36,119,.25);
}
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-size: 1rem; }
.brand-copy small { font-size: .7rem; color: var(--muted); margin-top: 4px; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { text-decoration: none; font-size: .88rem; font-weight: 800; color: #554b5c; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--gold); transition: right .25s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.header-cta { text-decoration: none; color: var(--white); background: var(--purple); padding: 11px 17px; border-radius: 999px; font-weight: 850; font-size: .82rem; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; border-radius: 12px; padding: 11px; }
.menu-toggle span { display: block; height: 2px; background: var(--purple-deep); margin: 5px 0; transition: .25s; }

.hero {
  min-height: 760px; position: relative; display: grid; align-items: center; overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.72), rgba(255,255,255,.88)),
    radial-gradient(circle at 88% 18%, rgba(243,187,63,.35), transparent 28%),
    radial-gradient(circle at 13% 60%, rgba(85,36,119,.16), transparent 34%);
}
.hero::before {
  content: ""; position: absolute; inset: auto -8% 0 auto; width: 52%; height: 92%;
  background: linear-gradient(145deg, var(--purple-deep), var(--purple));
  clip-path: polygon(26% 0,100% 0,100% 100%,0 100%); opacity: .98;
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: center; padding-block: 86px; }
.eyebrow { display: inline-block; color: var(--purple); font-size: .74rem; font-weight: 950; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { margin: 15px 0 13px; max-width: 760px; font-size: clamp(3.15rem, 7vw, 6.8rem); line-height: .9; letter-spacing: -.065em; }
.hero h1 span { display: block; color: var(--purple); }
.hero-subtitle { margin: 0 0 28px; color: var(--muted); font-size: clamp(1rem, 2vw, 1.28rem); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 0 22px; border-radius: 999px; text-decoration: none; font-weight: 900; border: 1px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--purple); color: var(--white); box-shadow: 0 14px 30px rgba(85,36,119,.22); }
.btn-primary:hover { background: var(--purple-deep); box-shadow: 0 18px 34px rgba(45,22,71,.28); }
.btn-ghost { border-color: var(--line); background: rgba(255,255,255,.6); }
.hero-divider { width: 110px; height: 2px; margin: 35px 0 20px; background: linear-gradient(90deg, var(--gold), transparent); }
.mary-inline { display: grid; gap: 3px; }
.mary-kicker { color: var(--purple); font-weight: 950; }
.mary-inline strong { font-size: 1.02rem; }

.hero-visual { min-height: 520px; position: relative; }
.visual-card {
  position: absolute; display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid rgba(255,255,255,.22); box-shadow: 0 34px 85px rgba(25,13,37,.34); overflow: hidden;
}
.visual-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 15%, rgba(255,255,255,.15), transparent 25%); }
.visual-card-main { width: 72%; height: 78%; right: 2%; top: 3%; padding: 34px; border-radius: 42px; background: linear-gradient(145deg, #69308f, #35184e); color: white; transform: rotate(3deg); }
.visual-card-alt { width: 54%; height: 44%; left: -7%; bottom: 0; padding: 28px; border-radius: 34px; background: linear-gradient(145deg, #ffd86b, #efa82b); color: var(--purple-deep); transform: rotate(-5deg); }
.visual-card span { font-size: .8rem; font-weight: 800; opacity: .82; }
.visual-card strong { font-size: clamp(1.35rem, 2.4vw, 2.2rem); line-height: 1; letter-spacing: -.04em; }
.line-icon { position: absolute; inset: 30px 30px auto auto; width: 118px; opacity: .78; }
.line-icon svg, .service-icon svg { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.visual-card-alt .line-icon { width: 95px; }
.phone-chip { position: absolute; right: -8%; bottom: 7%; z-index: 4; padding: 12px 18px; border-radius: 999px; background: var(--white); color: var(--purple); font-weight: 950; box-shadow: var(--shadow); }
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-orb-one { width: 60px; height: 60px; background: var(--gold); left: 5%; top: 15%; opacity: .25; }
.hero-orb-two { width: 150px; height: 150px; border: 1px solid rgba(85,36,119,.13); left: 41%; bottom: 4%; }

.section-head { margin-bottom: 48px; max-width: 760px; }
.section-head h2 { margin: 8px 0 0; font-size: clamp(2.2rem, 5vw, 4.15rem); line-height: 1; letter-spacing: -.055em; }
.section-head-center { text-align: center; margin-inline: auto; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.service-card { position: relative; min-height: 410px; padding: 40px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .28s ease; }
.service-card:hover { transform: translateY(-5px); }
.service-gabino { background: var(--purple-deep); color: var(--white); }
.service-mary { background: linear-gradient(145deg, #fff4cf, #f4bd45); color: var(--purple-deep); }
.service-number { position: absolute; top: 25px; right: 28px; font-size: 4.4rem; line-height: 1; font-weight: 950; opacity: .09; }
.service-icon { width: 98px; height: 78px; margin-bottom: 45px; }
.service-label { margin: 0 0 7px !important; text-transform: uppercase; font-size: .73rem !important; font-weight: 950 !important; letter-spacing: .12em; opacity: .72; }
.service-card h3 { max-width: 490px; margin: 0 0 10px; font-size: clamp(1.9rem, 3.7vw, 3.4rem); line-height: .98; letter-spacing: -.045em; }
.service-card p { margin: 0 0 28px; font-weight: 700; opacity: .78; }
.service-card a { display: inline-flex; gap: 10px; align-items: center; font-weight: 950; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }

.contact-strip { padding: 26px 0; background: linear-gradient(90deg, var(--purple-deep), #6b328e); color: var(--white); }
.contact-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.contact-strip-inner div { display: grid; }
.contact-strip-inner span { font-size: .8rem; opacity: .72; font-weight: 700; }
.contact-strip-inner strong { font-size: clamp(1.45rem, 3vw, 2.6rem); letter-spacing: -.04em; }
.btn-light { background: var(--white); color: var(--purple-deep); }

.gallery { background: #f3eff6; }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; align-items: stretch; }
.gallery-item { grid-column: span 6; border: 0; padding: 0; background: transparent; cursor: zoom-in; border-radius: 26px; text-align: left; }
.gallery-item-wide { grid-column: span 6; }
.photo-frame {
  min-height: 100%; display: grid; place-items: center; padding: 8px; border-radius: 26px;
  border: 1px solid rgba(85,36,119,.25);
  background: rgba(255,255,255,.74);
  box-shadow: 0 18px 45px rgba(85,36,119,.14), 0 0 24px rgba(85,36,119,.08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.gallery-item:hover .photo-frame, .gallery-item:focus-visible .photo-frame { transform: translateY(-4px); box-shadow: 0 26px 60px rgba(85,36,119,.18), 0 0 34px rgba(243,187,63,.14); }
.photo-frame img { width: 100%; height: auto; border-radius: 19px; object-fit: contain; }

.contact { background: var(--paper); }
.contact-card { min-height: 360px; display: grid; grid-template-columns: 1.35fr .65fr; border-radius: 36px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact-copy { padding: 55px; background: linear-gradient(145deg, white, #f7f2fa); }
.contact-copy h2 { margin: 10px 0 25px; font-size: clamp(2.3rem, 5vw, 4.6rem); line-height: .94; letter-spacing: -.06em; }
.contact-copy h2 span { color: var(--gold); }
.contact-services { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-services span { border: 1px solid var(--line); padding: 8px 12px; border-radius: 999px; font-size: .8rem; font-weight: 850; }
.contact-action { padding: 45px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; background: var(--purple-deep); color: var(--white); }
.contact-action span { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; opacity: .65; font-weight: 900; }
.contact-action strong { margin: 5px 0 25px; font-size: clamp(1.9rem, 4vw, 3.3rem); letter-spacing: -.04em; white-space: nowrap; }
.contact-action .btn-primary { background: var(--gold); color: var(--purple-deep); box-shadow: none; }

.site-footer { background: #1d1128; color: rgba(255,255,255,.82); padding: 28px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-inner div { display: grid; }
.footer-inner strong { color: var(--white); }
.footer-inner span { font-size: .8rem; opacity: .7; }
.footer-inner a { color: var(--gold-soft); font-weight: 900; text-decoration: none; }

.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 800; min-height: 54px; display: inline-flex; align-items: center; gap: 9px; padding: 0 18px 0 14px; border-radius: 999px; background: #25d366; color: #092815; text-decoration: none; font-weight: 950; box-shadow: 0 16px 38px rgba(14,79,39,.28); }
.whatsapp-float svg { width: 27px; height: 27px; fill: currentColor; }

.lightbox { position: fixed; inset: 0; z-index: 2000; display: none; place-items: center; padding: 50px 20px 20px; background: rgba(20,12,27,.92); backdrop-filter: blur(10px); }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(1180px, 94vw); max-height: 86vh; width: auto; height: auto; object-fit: contain; border-radius: 20px; border: 1px solid rgba(255,255,255,.35); box-shadow: 0 30px 80px rgba(0,0,0,.42); }
.lightbox-close { position: absolute; right: 25px; top: 18px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: white; border-radius: 50%; font-size: 2rem; cursor: pointer; }

.reveal { opacity: 1; transform: none; }
.reveal.visible { animation: revealIn .65s ease both; }
@keyframes revealIn {
  from { opacity: .01; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 920px) {
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; left: 20px; right: 20px; top: 88px; display: grid; gap: 0; padding: 10px; background: rgba(255,255,255,.98); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); transform: translateY(-15px); opacity: 0; visibility: hidden; transition: .25s; }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 13px 11px; border-radius: 10px; }
  .main-nav a:hover { background: #f6f1f8; }
  .main-nav a::after { display: none; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: auto; }
  .hero::before { width: 100%; height: 48%; left: 0; right: 0; top: auto; clip-path: polygon(0 17%,100% 0,100% 100%,0 100%); }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; padding-block: 70px 85px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { min-height: 440px; }
  .visual-card-main { right: 8%; }
  .visual-card-alt { left: 2%; }
  .phone-chip { right: 2%; }
  .service-grid, .contact-card { grid-template-columns: 1fr; }
  .contact-action { min-height: 260px; }
}

@media (max-width: 650px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 76px 0; }
  .nav-wrap { min-height: 70px; gap: 10px; }
  .brand-copy small { display: none; }
  .hero-grid { padding-block: 55px 72px; }
  .hero h1 { font-size: clamp(2.85rem, 15vw, 4.8rem); }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 390px; }
  .visual-card-main { width: 82%; height: 70%; right: 1%; padding: 25px; border-radius: 30px; }
  .visual-card-alt { width: 66%; height: 42%; left: 1%; padding: 22px; border-radius: 26px; }
  .line-icon { width: 90px; top: 22px; right: 20px; }
  .visual-card-alt .line-icon { width: 72px; }
  .phone-chip { bottom: 2%; right: 1%; font-size: .82rem; }
  .service-grid { gap: 16px; }
  .service-card { min-height: 360px; padding: 29px 24px; }
  .service-icon { margin-bottom: 32px; }
  .contact-strip-inner, .footer-inner { align-items: stretch; flex-direction: column; }
  .contact-strip-inner .btn { width: 100%; }
  .gallery-grid { gap: 16px; }
  .gallery-item, .gallery-item-wide { grid-column: 1 / -1; }
  .photo-frame { padding: 5px; border-radius: 20px; }
  .photo-frame img { border-radius: 15px; }
  .contact-copy, .contact-action { padding: 32px 24px; }
  .contact-copy h2 { font-size: 2.5rem; }
  .contact-action strong { font-size: 2rem; }
  .whatsapp-float { width: 56px; height: 56px; min-height: 56px; padding: 0; justify-content: center; border-radius: 50%; }
  .whatsapp-float span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
