/* ===== Atelier 99 — estilos (onda showroom) ===== */
:root {
  --bg: #FFFFFF;
  --alt: #F5F5F7;
  --ink: #1D1D1F;
  --muted: #6E6E73;
  --line: #D2D2D7;
  --brand: #C4B8AC;
  --link: #7A6858;
  --maxw: 1024px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 17px; line-height: 1.47; letter-spacing: -.022em; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }
.muted { color: var(--muted); }

h1, h2, h3 { font-weight: 600; letter-spacing: -.03em; line-height: 1.07; }
.display { font-size: clamp(2.7rem, 7.5vw, 5rem); }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.15; }
.sub { font-size: clamp(1.2rem, 2.4vw, 1.75rem); font-weight: 400; letter-spacing: -.015em; line-height: 1.25; margin-top: 10px; }
.eyebrow { display: block; font-size: 1.05rem; font-weight: 600; color: var(--link); margin-bottom: 10px; letter-spacing: -.01em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 680px; line-height: 1.45; margin: 18px auto 0; }

/* ===== Botones y links ===== */
.pill { display: inline-flex; align-items: center; justify-content: center; padding: 11px 22px; border-radius: 980px; background: var(--ink); color: #fff; font: 400 1.02rem var(--font); letter-spacing: -.01em; border: 1px solid var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.pill:hover { background: #424245; border-color: #424245; }
.pill-o { background: transparent; color: var(--ink); }
.pill-o:hover { background: var(--ink); color: #fff; }
.pill-sm { padding: 5px 13px; font-size: .78rem; }
.pill-block { width: 100%; }
.links { display: flex; gap: 14px 26px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.more { color: var(--link); font-size: 1.08rem; }
.more::after { content: " ›"; }
.more:hover { text-decoration: underline; }

/* ===== Navegación global ===== */
.gnav { position: sticky; top: 0; z-index: 100; background: rgba(251, 251, 253, .82); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, .08); }
.gnav-in { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; height: 48px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 500; letter-spacing: .18em; }
.mark { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--brand); display: grid; place-items: center; }
.mark svg { width: 15px; fill: #fff; }
.menu { display: flex; gap: 32px; font-size: .78rem; letter-spacing: -.01em; }
.menu > li > a { display: block; line-height: 48px; color: rgba(0, 0, 0, .78); transition: color .2s; }
.menu > li > a:hover, .menu > li > a.active { color: #000; }

/* Menú desplegable de servicios */
.fly { position: absolute; left: 0; right: 0; top: 48px; background: rgba(251, 251, 253, .97); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, .08); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.has-fly:hover .fly, .has-fly:focus-within .fly { opacity: 1; visibility: visible; }
.fly-in { max-width: var(--maxw); margin: 0 auto; padding: 36px 22px 52px; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.fly h5 { font-size: .75rem; color: var(--muted); font-weight: 400; margin-bottom: 12px; letter-spacing: 0; }
.fly .big a { display: block; font-size: 1.5rem; font-weight: 600; line-height: 1.45; letter-spacing: -.02em; }
.fly .small a { display: block; font-size: .82rem; font-weight: 500; line-height: 2.1; }
.fly a:hover { color: var(--link); }

.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; margin-right: -8px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .25s; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .menu { position: absolute; top: 48px; left: 0; right: 0; height: calc(100dvh - 48px); background: #FBFBFD; flex-direction: column; gap: 0; padding: 20px 44px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; overflow-y: auto; }
  .menu.open { opacity: 1; visibility: visible; }
  .menu > li > a { font-size: 1.75rem; font-weight: 600; line-height: 1.9; color: var(--ink); letter-spacing: -.02em; }
  .fly { display: none; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
}

/* ===== Navegación local (páginas de servicio) ===== */
.lnav { position: sticky; top: 48px; z-index: 90; background: rgba(255, 255, 255, .78); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, .08); }
.lnav-in { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; height: 52px; display: flex; align-items: center; justify-content: space-between; }
.lnav-title { font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; }
.lnav-links { display: flex; gap: 24px; align-items: center; font-size: .78rem; }
.lnav-links a:not(.pill) { color: var(--muted); }
.lnav-links a:not(.pill):hover { color: var(--ink); }
@media (max-width: 680px) { .lnav-links a:not(.pill) { display: none; } }

/* ===== Showroom: tiles ===== */
.tile { position: relative; padding: 60px 22px 64px; text-align: center; overflow: hidden; background: var(--bg); margin-bottom: 12px; }
.tile.alt { background: var(--alt); }
.tile.dark { background: #000; color: #F5F5F7; }
.tile.dark .pill { background: #F5F5F7; color: #000; border-color: #F5F5F7; }
.tile.dark .pill:hover { background: #fff; }
.tile.dark .pill-o { background: transparent; color: #F5F5F7; border-color: #F5F5F7; }
.tile.dark .more, .tile.dark .eyebrow { color: var(--brand); }
.tile.dark .muted { color: #A1A1A6; }
.tile .visual { max-width: 900px; margin: 44px auto 0; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 12px; margin-bottom: 12px; }
.tiles .tile { display: block; margin: 0; min-height: 540px; padding: 56px 32px; }
.tiles .tile h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.tiles .tile .sub { font-size: 1.15rem; }
.tiles .tile .more { display: inline-block; margin-top: 16px; }
.tiles .tile:hover .more { text-decoration: underline; }
.tile.tint { background: #EEE9E3; }
@media (max-width: 760px) {
  .tiles { grid-template-columns: 1fr; padding: 0; }
  .tiles .tile { min-height: 0; }
  .tile { padding: 48px 20px 52px; }
}

/* ===== Página de servicio: hero ===== */
.phero { padding: 64px 22px 80px; text-align: center; overflow: hidden; }
.phero .visual { max-width: 900px; margin: 48px auto 0; }

/* ===== Dispositivos (maquetas en CSS) ===== */
.laptop { padding: 0 7%; }
.screen { background: #0D0D0D; border-radius: 18px 18px 4px 4px; padding: 1.6%; border: 1px solid #2A2A2C; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .45); }
.screen-in { aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: #fff; }
.base { position: relative; height: 16px; width: 116%; margin-left: -8%; background: linear-gradient(#E3E3E6, #A8A8AD); border-radius: 0 0 16px 16px; }
.base::before { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 16%; height: 6px; background: #C2C2C6; border-radius: 0 0 8px 8px; }
.tile.dark .base { background: linear-gradient(#5A5A5E, #2A2A2C); }
.tile.dark .base::before { background: #3A3A3C; }
.tile.dark .screen { border-color: #3A3A3C; }

.phone { width: 190px; aspect-ratio: 9 / 19.5; background: #0D0D0D; border-radius: 38px; padding: 9px; border: 1px solid #2A2A2C; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .5); }
.phone .screen-in { height: 100%; aspect-ratio: auto; border-radius: 30px; }
.duo { position: relative; max-width: 900px; }
.duo .phone { position: absolute; right: 3%; bottom: -4%; width: 21%; }

/* Sitio de ejemplo dentro de las pantallas */
.sm { height: 100%; display: grid; grid-template-rows: auto 1.3fr 1fr; background: #fff; }
.sm-nav { display: flex; gap: 6%; align-items: center; padding: 3% 5%; }
.sm-nav b { width: 12%; height: 6px; background: var(--ink); border-radius: 3px; margin-right: auto; }
.sm-nav span { width: 7%; height: 4px; background: var(--line); border-radius: 2px; }
.sm-hero { background: var(--smh, linear-gradient(135deg, #EEE9E3, #C4B8AC)); display: flex; flex-direction: column; justify-content: center; padding: 0 8%; gap: 7%; }
.sm-h { width: 46%; height: 11%; background: var(--ink); border-radius: 3px; }
.sm-p { width: 30%; height: 5%; background: rgba(0, 0, 0, .3); border-radius: 3px; }
.sm-btn { width: 14%; height: 10%; background: var(--ink); border-radius: 99px; }
.sm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3%; padding: 4% 5%; }
.sm-grid i { position: relative; border-radius: 6px; background: var(--alt); }
.sm-grid i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--brand); }
.sm-grid i:nth-child(2)::after { background: var(--ink); border-radius: 20%; }
.sm-grid i:nth-child(3)::after { background: #9C6E55; }
.phone .sm { grid-template-rows: auto 1fr 1.3fr; }
.phone .sm-nav { padding: 12% 8% 6%; }
.phone .sm-nav span { display: none; }
.phone .sm-nav b { width: 30%; }
.phone .sm-h { width: 70%; }
.phone .sm-p { width: 50%; }
.phone .sm-btn { width: 36%; }
.phone .sm-grid { grid-template-columns: 1fr 1fr; gap: 6%; padding: 8%; }
.sm.v2 { --smh: linear-gradient(135deg, #2A2725, #5A524C); }
.sm.v2 .sm-h, .sm.v2 .sm-btn { background: #fff; }
.sm.v2 .sm-p { background: rgba(255, 255, 255, .5); }

/* Panel de sistema */
.dash { aspect-ratio: 16 / 10; display: grid; grid-template-columns: 20% 1fr; background: #fff; }
.screen-in .dash { aspect-ratio: auto; height: 100%; }
.dash aside { background: var(--ink); padding: 14px 10%; display: grid; align-content: start; gap: 10px; }
.dash aside span { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .22); }
.dash aside span:first-child { background: var(--brand); width: 70%; margin-bottom: 8px; }
.dash-main { padding: 4%; display: grid; grid-template-rows: auto 1fr; gap: 6%; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; }
.kpis span { aspect-ratio: 2.6; border-radius: 8px; background: var(--alt); }
.kpis span:first-child { background: var(--brand); }
.bars { display: flex; align-items: flex-end; gap: 3%; border-bottom: 1px solid var(--line); }
.bars i { flex: 1; height: var(--h); background: var(--ink); border-radius: 4px 4px 0 0; }
.bars i:nth-child(odd) { background: #D2D2D7; }

/* Estudio de fotos */
.stage { position: relative; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: radial-gradient(ellipse at 50% 25%, #fff 0%, #EEE9E3 55%, #D9D0C6 100%); display: flex; align-items: flex-end; justify-content: center; gap: 7%; padding-bottom: 13%; }
.stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 24%; background: linear-gradient(#E4DCD3, #D3C8BC); }
.stage.night { background: radial-gradient(ellipse at 50% 20%, #4A4A4E 0%, #1D1D1F 55%, #000 100%); }
.stage.night::after { background: linear-gradient(#1D1D1F, #0D0D0D); }
.obj { position: relative; z-index: 1; }
.obj::after { content: ""; position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); width: 120%; height: 18px; border-radius: 50%; background: rgba(0, 0, 0, .22); filter: blur(8px); z-index: -1; }
.obj.bottle { width: 8%; aspect-ratio: .38; border-radius: 40% 40% 12% 12% / 16% 16% 5% 5%; background: linear-gradient(90deg, #6F5E50, #C9B8A7 38%, #8A7766 70%, #6F5E50); }
.obj.jar { width: 15%; aspect-ratio: 1.05; border-radius: 16%; background: linear-gradient(90deg, #DCD5CD, #fff 40%, #E8E2DB 75%, #CFC7BE); }
.obj.bag { width: 22%; aspect-ratio: 1.15; border-radius: 10px 10px 18px 18px; background: linear-gradient(90deg, #111, #3A3A3C 42%, #1D1D1F 80%, #111); }
.obj.bag::before { content: ""; position: absolute; left: 30%; right: 30%; top: -32%; height: 40%; border: 5px solid #2A2A2C; border-bottom: 0; border-radius: 60px 60px 0 0; }
.stage.night .obj.jar { background: linear-gradient(90deg, #8A7766, #E2D6CA 40%, #A8988A 75%, #7A6858); }

/* Mini visuales de los tiles */
.trio { display: flex; justify-content: center; gap: 14px; margin-top: 44px; }
.trio span { width: 104px; height: 104px; border-radius: 26px; background: #fff; display: grid; place-items: center; font-weight: 600; font-size: .95rem; box-shadow: 0 16px 36px -16px rgba(0, 0, 0, .25); }
.trio span:nth-child(2) { background: var(--ink); color: #fff; transform: translateY(-14px); }
.trio span:nth-child(3) { background: var(--brand); color: #fff; }
.minis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 320px; margin: 40px auto 0; }
.minis .ph { aspect-ratio: 1; border-radius: 16px; }
.bigmark { width: 190px; height: 190px; margin: 44px auto 0; border-radius: 50%; background: var(--brand); display: grid; place-items: center; }
.bigmark svg { width: 104px; fill: #fff; }
.chat { max-width: 330px; margin: 40px auto 0; display: grid; gap: 8px; text-align: left; }
.chat p { padding: 10px 15px; border-radius: 20px; font-size: .95rem; max-width: 85%; }
.chat .in { background: #fff; justify-self: start; }
.chat .out { background: #D9FDD3; justify-self: end; }

/* ===== Secciones ===== */
section.block { padding: 100px 0; }
section.block.alt { background: var(--alt); }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.15rem; margin-top: 14px; }
.section-foot { margin-top: 40px; text-align: center; }
@media (max-width: 680px) { section.block { padding: 72px 0; } .phero { padding: 44px 20px 60px; } }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2 { grid-template-columns: 1fr; } }

/* ===== Tarjetas y precios ===== */
.card { background: var(--alt); border-radius: 28px; padding: 36px 30px; display: flex; flex-direction: column; gap: 14px; }
.alt .card { background: #fff; }
.card p { color: var(--muted); }
.card-sm { padding: 30px 28px; gap: 8px; }
.card-sm h3 { font-size: 1.25rem; }
.card .num { font-size: .95rem; font-weight: 600; color: var(--link); }

.checks { display: grid; gap: 9px; font-size: .97rem; }
.checks li { position: relative; padding-left: 26px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 1.6px solid var(--link); border-bottom: 1.6px solid var(--link); transform: rotate(-45deg); }

.price-card { gap: 16px; }
.price-card h3 { font-size: 1.75rem; }
.price-card .price { font-size: 2.2rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.price-card .price small { display: block; font-size: .85rem; font-weight: 400; color: var(--muted); letter-spacing: -.01em; margin-top: 6px; }
.price-card .price .from { display: block; font-size: .9rem; font-weight: 400; color: var(--muted); margin-bottom: 2px; }
.price-card .checks { flex: 1; margin: 6px 0 10px; }
.price-card.featured { background: #000; color: #F5F5F7; }
.price-card.featured p, .price-card.featured .price small, .price-card.featured .price .from { color: #A1A1A6; }
.price-card.featured .checks li::before { border-color: var(--brand); }
.price-card.featured .pill { background: #F5F5F7; color: #000; border-color: #F5F5F7; }
.badge { align-self: flex-start; font-size: .75rem; font-weight: 600; color: #9C6E55; letter-spacing: 0; }
.price-card.featured .badge { color: var(--brand); }
.old { text-decoration: line-through; }
.save { color: #9C6E55; font-weight: 600; }
.price-card.featured .save { color: var(--brand); }
.note { font-size: .95rem; color: var(--muted); margin-top: 28px; text-align: center; }

/* ===== Add-ons ===== */
.addons { max-width: 820px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.addon { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.addon b { font-weight: 500; white-space: nowrap; }
@media (max-width: 680px) { .addons { grid-template-columns: 1fr; } }

/* ===== Pasos ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: paso; }
.step::before { counter-increment: paso; content: counter(paso); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; font-size: .95rem; margin-bottom: 18px; }
.step h3 { font-size: 1.2rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ===== CTA final ===== */
.cta { padding: 110px 22px; text-align: center; background: var(--alt); }
.cta p { color: var(--muted); font-size: 1.2rem; max-width: 560px; margin: 16px auto 0; }

/* ===== Placeholders de fotos (reemplazar por fotos reales) ===== */
.ph { position: relative; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, #F2EEE9, #D9D0C6); aspect-ratio: 4 / 5; display: flex; align-items: flex-end; justify-content: center; padding: 14px; --obj: #A8988A; }
.ph::before { content: ""; position: absolute; left: 50%; top: 46%; width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.55), transparent 55%), var(--obj); box-shadow: 0 34px 30px -20px rgba(0,0,0,.3); }
.ph small { position: relative; z-index: 1; font-size: .72rem; color: rgba(0,0,0,.55); background: rgba(255,255,255,.75); padding: 4px 10px; border-radius: 99px; }
.ph.sq { aspect-ratio: 1; }
.ph.wide { aspect-ratio: 16 / 10; }
.ph.bottle::before { width: 18%; aspect-ratio: .42; border-radius: 40px 40px 12px 12px; }
.ph.box::before { width: 38%; aspect-ratio: 1.25; border-radius: 10px; }
.ph.bag::before { width: 36%; aspect-ratio: .9; border-radius: 14px 14px 22px 22px; }
.ph.t2 { background: linear-gradient(160deg, #EEF1EE, #C9D3CC); --obj: #6F8A78; }
.ph.t3 { background: linear-gradient(160deg, #F4ECE6, #DCC6B7); --obj: #9C6E55; }
.ph.t4 { background: linear-gradient(160deg, #3A3A3C, #0D0D0D); --obj: #D9D0C6; }
.ph.t4 small { color: #fff; background: rgba(255,255,255,.15); }
.ph.t5 { background: #fff; border: 1px solid #E8E8ED; --obj: #C9A86A; }
.ph.t6 { background: linear-gradient(160deg, #EFEDF3, #D1CADB); --obj: #5E4F78; }

/* Maqueta de navegador (portafolio) */
.mock { background: #fff; border: 1px solid #E8E8ED; border-radius: 16px; overflow: hidden; }
.mock-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid #E8E8ED; background: #FBFBFD; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.mock .sm, .mock .dash { aspect-ratio: 16 / 10; height: auto; }

/* ===== Portafolio ===== */
.filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 44px; }
.filter { border: 0; background: var(--alt); color: var(--ink); padding: 9px 18px; border-radius: 99px; cursor: pointer; font: 400 .92rem var(--font); transition: background .2s, color .2s; }
.filter:hover { background: #E8E8ED; }
.filter.active { background: var(--ink); color: #fff; }
.work { display: flex; flex-direction: column; gap: 8px; }
.work h3 { font-size: 1.2rem; margin-top: 8px; }
.work p { color: var(--muted); font-size: .95rem; }
.work.hide { display: none; }
.tag { font-size: .8rem; font-weight: 600; color: var(--link); }
.case { display: grid; gap: 2px; font-size: .95rem; }
.case b { font-weight: 600; color: var(--ink); }
.case p { margin-bottom: 8px; }

/* ===== FAQ ===== */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; font-size: 1.1rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 1.5rem; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin-top: 10px; }

/* ===== Formulario ===== */
.form { display: grid; gap: 18px; text-align: left; }
.field label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; color: inherit; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(122, 104, 88, .3); border-color: var(--link); }
.contact-list { display: grid; gap: 24px; }
.contact-list span { display: block; font-size: .85rem; color: var(--muted); }
.contact-list a, .contact-list strong { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.contact-list a:hover { color: var(--link); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; text-align: left; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* ===== Footer ===== */
.site-footer { background: var(--alt); color: var(--muted); font-size: .78rem; padding: 40px 0 28px; border-top: 1px solid #E8E8ED; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.site-footer h4 { font-size: .78rem; color: var(--ink); font-weight: 600; margin-bottom: 10px; }
.site-footer li { margin-bottom: 8px; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ===== Botón flotante WhatsApp ===== */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 54px; height: 54px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.35); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 27px; height: 27px; fill: #fff; }

/* ===== Animación al hacer scroll ===== */
html.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== Fotos reales ===== */
.photo { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; background: var(--alt); }
.photo.sq { aspect-ratio: 1; }
.photo.wide { aspect-ratio: 16 / 10; }
.photo-row { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 16px; align-items: center; max-width: 1000px; }
.minis.three { grid-template-columns: repeat(3, 1fr); max-width: 440px; }
.minis .photo { border-radius: 14px; aspect-ratio: 3 / 4; }
@media (max-width: 680px) { .photo-row { gap: 8px; } .photo-row .photo { border-radius: 14px; } }

/* ===== Menú de servicio integrado con el menú principal =====
   En páginas con submenú: el menú principal se va al hacer scroll,
   el submenú queda fijo arriba y ambos comparten fondo, sin línea entre medio. */
body:has(.lnav) .gnav { position: relative; border-bottom-color: transparent; background: #FBFBFD; }
body:has(.lnav) .lnav { top: 0; background: rgba(251, 251, 253, .85); }
.lnav-in { height: 50px; }
.lnav-title { font-size: 1.2rem; }

/* ===== Menú principal centrado (logo, links e ícono en una sola fila) ===== */
.nav-wa { display: grid; place-items: center; width: 32px; height: 48px; color: rgba(0, 0, 0, .78); transition: color .2s; }
.nav-wa:hover { color: #000; }
.nav-wa svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
@media (min-width: 861px) {
  .gnav-in { max-width: 1000px; }
  .logo .word { display: none; }
  .menu { flex: 1; justify-content: space-evenly; gap: 0; padding: 0 12px; }
}
@media (max-width: 860px) { .nav-wa { margin-left: auto; margin-right: 6px; } }

/* ===== Menú oscuro estilo Apple ===== */
.gnav, body:has(.lnav) .gnav { background: rgba(22, 22, 23, .82); border-bottom-color: transparent; }
.logo { color: #F5F5F7; }
.menu > li > a, .nav-wa { color: rgba(255, 255, 255, .8); }
.menu > li > a:hover, .menu > li > a.active, .nav-wa:hover { color: #fff; }
.nav-toggle span { background: #F5F5F7; }
.fly { background: rgba(22, 22, 23, .97); border-bottom: 0; }
.fly h5 { color: #86868B; }
.fly a { color: #E8E8ED; }
.fly a:hover { color: #fff; }
@media (max-width: 860px) {
  .menu { background: #161617; }
  .menu > li > a { color: #E8E8ED; }
}
.hero-dark { padding-top: 72px; }
.grad { background: linear-gradient(90deg, #EADCCB, #C4B8AC 45%, #A48C78); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== Presupuestador ===== */
.config { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; text-align: left; }
.cfg-step { font-size: 1.3rem; margin: 0 0 14px; }
.cfg-step:not(:first-child) { margin-top: 40px; }
.opts { display: grid; gap: 10px; }
.opt { position: relative; display: flex; align-items: center; gap: 14px; background: #fff; border: 1.5px solid #E8E8ED; border-radius: 16px; padding: 18px 20px; cursor: pointer; transition: border-color .2s; }
.opt:hover { border-color: #C7C7CC; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt::before { content: ""; width: 20px; height: 20px; flex: none; border: 1.5px solid #C7C7CC; border-radius: 50%; transition: background .2s, border-color .2s, box-shadow .2s; }
.opt.check::before { border-radius: 6px; }
.opt:has(input:checked) { border-color: var(--ink); }
.opt:has(input:checked)::before { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 4px #fff; }
.opt.check:has(input:checked)::before { box-shadow: none; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.opt:has(input:focus-visible) { outline: 2px solid var(--link); outline-offset: 2px; }
.opt-body { flex: 1; display: grid; }
.opt-body b { font-weight: 600; }
.opt-body small { color: var(--muted); font-size: .85rem; }
.opt-price { font-weight: 500; white-space: nowrap; font-size: .95rem; }
.cfg-group { font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 26px 0 10px; }
.cfg-sum { position: sticky; top: 120px; background: #fff; border-radius: 24px; padding: 28px; display: grid; gap: 14px; box-shadow: 0 20px 50px -30px rgba(0,0,0,.25); }
.cfg-sum h3 { font-size: 1.3rem; }
.cfg-sum ul { display: grid; gap: 8px; font-size: .92rem; color: var(--muted); }
.cfg-sum li { display: flex; justify-content: space-between; gap: 12px; }
.cfg-sum li span:last-child { color: var(--ink); white-space: nowrap; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.sum-total b { font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; text-align: right; }
.sum-extra, .sum-note { font-size: .85rem; color: var(--muted); }
.sum-extra:empty { display: none; }
.sum-disc { color: #9C6E55; font-weight: 600; font-size: .9rem; }
@media (max-width: 860px) { .config { grid-template-columns: 1fr; } .cfg-sum { position: static; } }

/* Mini presupuesto (tile del inicio) */
.receipt { max-width: 300px; margin: 40px auto 0; background: #fff; border-radius: 20px; padding: 22px; text-align: left; display: grid; gap: 10px; font-size: .9rem; box-shadow: 0 20px 40px -24px rgba(0,0,0,.3); }
.receipt div { display: flex; justify-content: space-between; color: var(--muted); }
.receipt div b { color: var(--ink); font-weight: 500; }
.receipt .tot { border-top: 1px solid var(--line); padding-top: 10px; color: var(--ink); font-weight: 600; font-size: 1.05rem; }

/* Contacto */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card { background: #fff; border-radius: 28px; padding: 44px 32px; text-align: center; display: grid; justify-items: center; gap: 10px; }
.contact-card .ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px; }
.contact-card .ic svg { width: 30px; height: 30px; }
.contact-card p { color: var(--muted); }
.contact-card .pill { margin-top: 10px; }
.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 680px) { .contact-cards, .btn-row { grid-template-columns: 1fr; } }
.cfg-sum .btn-row { grid-template-columns: 1fr; }

/* Imagen y explicación de cada opción */
.opt-thumb { width: 56px; height: 56px; flex: none; border-radius: 12px; background: var(--alt); display: grid; place-items: center; overflow: hidden; }
.opt-thumb svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.opt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.opt-body { min-width: 0; }
.opt-body small { line-height: 1.4; margin-top: 3px; }
@media (max-width: 560px) {
  .opt { flex-wrap: wrap; row-gap: 6px; }
  .opt-thumb { width: 48px; height: 48px; }
  .opt-body { flex: 1 1 calc(100% - 96px); }
  .opt-price { width: 100%; padding-left: 96px; }
}

/* ===== Composición de los tres servicios (Kits) ===== */
.combo { display: flex; align-items: center; justify-content: center; gap: 16px; max-width: 960px; margin: 52px auto 0; }
.combo figure { flex: 1; min-width: 0; margin: 0; display: grid; gap: 12px; }
.combo figure > * { box-shadow: 0 24px 40px -28px rgba(0, 0, 0, .35); }
.combo figcaption { font-size: .95rem; font-weight: 600; box-shadow: none; }
.combo .photo { border-radius: 16px; }
.combo .plus { flex: none; font-size: 2rem; font-weight: 300; color: var(--muted); margin-bottom: 30px; }
.tiles .combo { margin-top: 36px; gap: 10px; }
.tiles .combo .plus { font-size: 1.4rem; margin-bottom: 26px; }
.tiles .combo figcaption { font-size: .8rem; }
@media (max-width: 600px) {
  .combo { flex-direction: column; gap: 8px; max-width: 320px; }
  .combo figure { width: 100%; }
  .combo .plus { margin: 0; }
}

/* Taupe un poco más oscuro para que los links se lean mejor */
:root { --link: #66553F; }

/* ===== Menú claro (combina con el fondo blanco) ===== */
.gnav, body:has(.lnav) .gnav { background: rgba(251, 251, 253, .85); border-bottom: 1px solid rgba(0, 0, 0, .06); }
.logo { color: var(--ink); }
.menu > li > a, .nav-wa { color: rgba(0, 0, 0, .75); }
.menu > li > a:hover, .menu > li > a.active, .nav-wa:hover { color: #000; }
.nav-toggle span { background: var(--ink); }
.fly { background: rgba(251, 251, 253, .97); border-bottom: 1px solid rgba(0, 0, 0, .06); }
.fly h5 { color: var(--muted); }
.fly a { color: var(--ink); }
.fly a:hover { color: var(--link); }
@media (max-width: 860px) {
  .menu { background: #FBFBFD; }
  .menu > li > a { color: var(--ink); }
}
.grad { background: linear-gradient(90deg, #8A7766, #B8A493 50%, #7A6858); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-dark .display { font-size: clamp(2.4rem, 6.4vw, 4.4rem); }
.minis.two { max-width: 460px; gap: 12px; } .minis .mock { border-radius: 12px; }

/* ===== Selector de idioma y moneda ===== */
.toggles { display: flex; gap: 6px; align-items: center; margin-left: 8px; }
.seg { display: inline-flex; background: rgba(0, 0, 0, .06); border-radius: 99px; padding: 2px; }
.seg button { border: 0; background: none; font: 500 .68rem var(--font); letter-spacing: .02em; padding: 4px 8px; border-radius: 99px; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
@media (max-width: 860px) {
  .toggles { margin-left: auto; }
  .nav-wa { margin-left: 2px; }
}
.opt-note { display: block; font-size: .75rem; font-weight: 500; color: var(--muted); text-align: right; margin-top: 2px; }

/* ===== Capturas reales de webs ===== */
.shot { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mock .shot { aspect-ratio: 16 / 10; height: auto; }
a.work .mock { transition: transform .3s, box-shadow .3s; }
a.work:hover .mock { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .3); }
.work .more { font-size: .9rem; }

/* ===== Páginas de caso ===== */
.case-intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.case-lead { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 500; line-height: 1.3; letter-spacing: -.02em; }
.plan-box { background: #fff; gap: 12px; }
.plan-name { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.plan-name small { color: var(--muted); }
.plan-name b { font-size: 2rem; font-weight: 600; letter-spacing: -.03em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: var(--alt); border-radius: 99px; padding: 7px 13px; font-size: .85rem; }
.case-feature { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; padding: 40px 0; }
.case-feature:nth-of-type(even) .cf-media { order: 2; }
.cf-text h3 { font-size: 1.8rem; margin: 8px 0 12px; }
.cf-text p { color: var(--muted); font-size: 1.08rem; }
@media (max-width: 860px) {
  .case-intro, .case-feature { grid-template-columns: 1fr; gap: 20px; }
  .case-feature:nth-of-type(even) .cf-media { order: 0; }
}

/* ===== Panel de administración (Páginas web) ===== */
.panel-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; text-align: left; }
.panel-list { display: grid; gap: 0; }
.panel-list li { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.panel-list b { font-weight: 600; }
.panel-list p { color: var(--muted); font-size: .92rem; margin-top: 2px; }
.panel-tag { flex: none; font-size: .75rem; font-weight: 600; color: var(--link); background: var(--alt); border-radius: 99px; padding: 4px 10px; white-space: nowrap; }
@media (max-width: 860px) { .panel-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ===== Apps: tres celulares ===== */
.phones { display: flex; justify-content: center; align-items: flex-end; gap: 28px; }
.phones .phone { width: 210px; }
.phones .phone:nth-child(2) { width: 240px; margin-bottom: 30px; }
@media (max-width: 680px) { .phones { gap: 10px; } .phones .phone { width: 28%; border-radius: 22px; padding: 5px; } .phones .phone:nth-child(2) { width: 34%; } .phones .phone .screen-in { border-radius: 18px; } }
.planes-2 { max-width: 760px; margin: 0 auto; }
.opt-combo { display: block; font-style: normal; font-weight: 500; color: var(--link); margin-top: 4px; }

/* ===== Cuotas y formas de pago ===== */
.cuotas { font-size: .85rem; color: var(--muted); margin: -4px 0 0; }
.price-card.featured .cuotas { color: #A1A1A6; }
.pagos { margin-top: 32px; background: var(--alt); border-radius: 24px; padding: 28px 32px; display: grid; grid-template-columns: 1fr 1.6fr; gap: 16px 40px; text-align: left; }
.alt .pagos { background: #fff; }
.pagos-head h3 { font-size: 1.3rem; }
.pagos-head p { color: var(--muted); margin-top: 4px; }
.pagos .chips { align-self: center; }
.pagos-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid var(--line); padding-top: 18px; }
.pagos-list b { display: block; font-weight: 600; margin-bottom: 4px; }
.pagos-list span { color: var(--muted); font-size: .93rem; }
@media (max-width: 760px) { .pagos { grid-template-columns: 1fr; padding: 24px; } .pagos-list { grid-template-columns: 1fr; } }
.pagos .chips span { background: #fff; }
.alt .pagos .chips span { background: var(--alt); }
