/* Shared design (home + inner pages). Reference: costaricaweb-estudio design, 2026-10. */
/* Design: "CostaRicaWeb estudio" reference (2026-10). Arial, ink + tile red, square corners. */
:root { --ink:#172d43; --teal:#d9432f; --lime:#e9dfd0; --cream:#fff; --muted:#68717b; --line:#cbd0d1; --sand:#eee9df; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:100px; }
body { margin:0; background:#fff; color:var(--ink); font-family:Arial, Helvetica, sans-serif; font-size:16px; line-height:1.6; }
a { color:inherit; text-decoration:none; }
button, input, select, textarea { font:inherit; }
button, a, input, select, summary, textarea { outline-offset:5px; }
button { cursor:pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline:3px solid #d17c51; }
img { max-width:100%; }
.wrap { width:min(1220px, 100% - 80px); margin:auto; }
.skip { position:absolute; top:-100px; }
.skip:focus { top:0; background:#fff; z-index:100; padding:10px; }

header { height:102px; display:flex; align-items:center; justify-content:space-between; max-width:1380px; padding:0 40px; margin:auto; position:relative; }
.brand { display:flex; gap:11px; align-items:center; font-weight:800; font-size:23px; letter-spacing:-1px; line-height:1.15; }
.brand small { display:block; font-size:8px; letter-spacing:2px; margin-top:6px; font-weight:600; }
.teal { color:var(--teal); }
.mark { background:var(--ink); color:#fff; width:43px; height:43px; display:grid; place-items:center; font-size:24px; font-weight:800; letter-spacing:-2px; position:relative; }
.mark span { font-size:15px; position:absolute; right:0; top:-2px; background:var(--ink); }
nav { display:flex; gap:30px; align-items:center; font-size:13px; font-weight:600; }
.menu { display:none; }

.button, .outline { border:0; border-radius:0; padding:16px 24px; display:inline-flex; justify-content:center; align-items:center; gap:28px; font-weight:700; font-size:14px; background:var(--teal); color:#fff; transition:transform .2s, background .2s; }
.button:hover { background:#b93624; transform:translateY(-2px); }
.small { padding:12px 19px; }
.outline { border:1px solid #c2ceca; color:var(--ink); background:transparent; }
.outline:hover { background:var(--sand); }
.text-link { font-weight:700; font-size:13px; border:0; background:none; padding:0; color:var(--ink); text-decoration:underline; text-underline-offset:6px; }

.eyebrow { font-size:10px; font-weight:700; letter-spacing:2px; line-height:1.6; margin:0 0 20px; }
h1, h2, h3, p { margin-top:0; }
em { font-style:normal; font-weight:750; color:var(--teal); }
h2 { font-size:45px; line-height:1.13; letter-spacing:-2px; margin-bottom:22px; font-weight:750; }
h3 { line-height:1.25; letter-spacing:-.5px; }
.muted { color:var(--muted); font-size:14px; max-width:450px; }
.fine { font-size:10px; line-height:1.8; color:var(--muted); }
.center { text-align:center; }

/* Hero */
.hero { display:grid; grid-template-columns:1fr 1.12fr; gap:50px; padding-top:25px; padding-bottom:70px; align-items:center; }
.hero-topline { grid-column:1 / -1; border-top:1px solid var(--ink); border-bottom:1px solid var(--ink); display:flex; justify-content:space-between; padding:12px 0; font-size:9px; font-weight:700; letter-spacing:1.4px; margin-bottom:18px; }
.hero .eyebrow { font-size:8px; letter-spacing:1.4px; }
.hero h1 { font-size:clamp(64px, 6.5vw, 93px); font-weight:800; line-height:.98; letter-spacing:-5px; margin-bottom:25px; }
.hero h1 em { font-weight:800; }
.intro { font-size:23px; line-height:1.3; font-weight:500; max-width:430px; margin-bottom:15px; }
.actions { display:flex; align-items:center; gap:24px; margin-top:30px; }
.hero-notes { display:flex; flex-wrap:wrap; gap:20px; margin-top:28px; font-size:8px; font-weight:700; letter-spacing:1px; color:var(--muted); }
.hero-notes span { border-left:2px solid var(--teal); padding-left:9px; }
.hero-art { position:relative; min-height:510px; padding:26px 0 0 10px; }
.hero-board { border:1px solid var(--ink); background:#fff; box-shadow:10px 10px 0 #e1ded4; position:relative; }
.board-bar { display:flex; align-items:center; justify-content:space-between; padding:20px; color:#402f24; background:#f2eadc; border-bottom:1px solid #c5bba9; }
.board-bar strong { font-size:19px; letter-spacing:-1px; line-height:1.1; }
.board-bar strong span { font-size:6px; letter-spacing:2px; display:block; margin-top:4px; }
.board-bar > span { font-size:7px; }
.board-content { position:relative; background:#f2eadc; color:#402f24; padding:35px 25px 30px; min-height:295px; overflow:hidden; }
.board-content small { font-size:6px; letter-spacing:1.1px; position:relative; z-index:1; }
.board-content h3 { font-family:Georgia, serif; font-weight:400; font-size:40px; line-height:1.05; position:relative; z-index:1; margin:20px 0; max-width:55%; }
.board-content h3 i { color:#b7442f; }
.board-content img { position:absolute; right:0; top:0; height:100%; width:45%; object-fit:cover; }
.board-link { position:relative; z-index:1; display:inline-block; font-size:8px; background:#b7442f; color:#fff; padding:9px 12px; }
.board-bottom { display:flex; justify-content:space-between; padding:15px; font-size:5px; letter-spacing:1px; color:#402f24; }
.mobile-mock { position:absolute; right:-10px; bottom:5px; background:#f2eadc; border:5px solid var(--ink); border-radius:20px; width:136px; min-height:235px; color:#402f24; box-shadow:5px 7px 0 var(--teal); overflow:hidden; }
.mobile-mock > span:first-child { display:block; text-align:center; font-size:9px; font-weight:800; padding:12px 0; }
.mobile-mock img { display:block; width:100%; height:82px; object-fit:cover; }
.mobile-mock h4 { font-family:Georgia, serif; font-size:18px; font-weight:400; line-height:1.1; padding:0 10px; margin:13px 0; }
.mobile-button { display:block; background:#b7442f; color:#fff; font-size:6px; padding:8px; margin:0 10px 12px; }
.project-caption { padding-top:24px; display:flex; gap:25px; }
.project-caption > span { font-size:7px; letter-spacing:1px; border-top:2px solid var(--teal); padding-top:10px; }
.project-caption strong { font-size:13px; line-height:1.4; font-weight:500; }

.benefit-strip { background:var(--ink); color:#f8f6ef; }
.benefit-strip > div { display:flex; justify-content:space-between; align-items:center; padding-block:20px; font-size:12px; gap:16px; }
.benefit-strip strong { font-weight:400; letter-spacing:.5px; }
.benefit-strip a { font-weight:700; }

.section { padding-block:95px; }
.section-head { display:flex; justify-content:space-between; align-items:end; margin-bottom:42px; gap:40px; }
.section-head h2 { margin-bottom:0; }
.section-head > p { font-size:14px; color:var(--muted); max-width:340px; margin-bottom:2px; }

/* Plans */
.plans { display:grid; grid-template-columns:repeat(3, 1fr); border:1px solid var(--ink); }
.plans article { border-right:1px solid var(--ink); padding:33px; position:relative; display:flex; flex-direction:column; background:#fff; }
.plans article:last-child { border-right:0; }
.plans .featured { background:var(--sand); }
.icon { font-size:32px; color:var(--teal); line-height:1; margin-bottom:25px; }
.plans .eyebrow { font-size:8px; margin-bottom:12px; }
.plans h3 { font-size:24px; margin-bottom:15px; font-weight:750; }
.plans p:not(.eyebrow) { font-size:13px; color:var(--muted); min-height:63px; }
.price { font-size:28px; font-weight:600; letter-spacing:-1px; margin:10px 0; }
.price small { font-size:11px; font-weight:400; letter-spacing:0; }
.plans ul { list-style:none; padding:20px 0; margin:0 0 20px; border-top:1px solid var(--line); font-size:12px; flex:1; }
.plans li { margin-bottom:9px; }
.plans li::before { content:"✓"; color:var(--teal); margin-right:9px; }
.recommend { position:absolute; left:0; right:0; top:0; text-align:center; font-size:8px; letter-spacing:1.3px; background:var(--ink); color:#fff; padding:5px; }
.custom { display:flex; justify-content:space-between; border-bottom:1px solid var(--line); padding:25px 0; font-size:12px; gap:15px; }
.custom a { font-weight:700; }

/* Trades */
.business-section { background:#fff; padding:80px 0; border-top:1px solid var(--ink); }
.business-tabs { display:flex; gap:10px; flex-wrap:wrap; border-bottom:1px solid #d4d9cd; padding-bottom:24px; }
.business-tabs button { border:1px solid #a9b3b6; background:transparent; font-size:12px; padding:9px 20px; color:var(--ink); }
.business-tabs button.active { background:var(--ink); color:#fff; border-color:var(--ink); }
.business-detail { display:grid; grid-template-columns:1fr 1fr; gap:100px; align-items:center; padding-top:40px; }
.business-detail h3 { font-size:31px; max-width:390px; }
.business-detail p:not(.eyebrow) { font-size:14px; color:var(--muted); max-width:400px; }
.business-links { display:flex; gap:24px; align-items:center; flex-wrap:wrap; }
.business-price { font-size:13px; font-weight:700; margin-bottom:20px; }
.business-preview { border:1px solid var(--ink); background:#fff; box-shadow:8px 8px 0 #d8d3c8; }
.browser-dots { font-size:9px; color:#9c9d9c; border-bottom:1px solid #c5cbd0; padding:8px 12px; background:#e9e7df; display:flex; gap:2px; }
.browser-dots span { font-size:8px; color:#7b8a83; margin:auto; }
.preview-inner { padding:35px; text-align:center; background:#f2eadc; }
.preview-symbol { color:var(--teal); font-weight:700; font-size:20px; display:block; }
.preview-inner small { font-size:8px; letter-spacing:2px; }
.preview-inner h3 { font-family:Georgia, serif; font-size:35px; font-weight:400; margin:15px auto; color:var(--ink); white-space:pre-line; }
.mini-pill { display:inline-block; background:var(--ink); color:#fff; padding:8px 12px; font-size:8px; }
.business-preview > small { display:block; padding:6px; font-size:8px; text-align:center; color:var(--muted); }

/* Calculator */
.calculator-section { background:var(--ink); color:#fff; padding:95px 0; }
.calculator-grid { display:grid; grid-template-columns:1.2fr 1fr; gap:90px; align-items:start; }
.calculator-section em { color:#f27259; }
.calculator-section .eyebrow { color:#cbd2da; }
.calculator-grid > div > p:not(.eyebrow) { font-size:14px; color:#c5d2ce; max-width:450px; }
fieldset { padding:0; border:0; margin:30px 0 0; }
legend { font-size:13px; font-weight:700; margin-bottom:15px; }
.option-grid, .extras { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.option { position:relative; display:block; cursor:pointer; }
.option input { position:absolute; opacity:0; }
.option span { display:block; padding:17px; border:1px solid #637281; font-size:13px; background:#233e55; height:100%; }
.option small { display:block; font-size:10px; margin-top:4px; color:#cbd3d9; }
.option input:checked + span { background:#fff9ee; border-color:#f27259; color:var(--ink); box-shadow:inset 4px 0 var(--teal); }
.option input:checked + span small { color:#5c6570; }
.option input:focus-visible + span { outline:3px solid #f1ae7b; }
.extras { gap:12px; }
.extras label { font-size:12px; display:flex; align-items:start; gap:9px; padding:10px 0; }
.extras small { display:block; font-size:10px; color:#cbd3d9; }
.extras input { accent-color:var(--teal); margin-top:5px; width:16px; height:16px; }
.extras label:has(input:disabled) { opacity:.45; }
.calculator-section select { background:#233e55; border:1px solid #637281; color:#fff; padding:12px; width:100%; font-size:12px; }
.calculator-section fieldset .fine { color:#bec8d2; }
.receipt { background:#fff; padding:30px; color:var(--ink); position:sticky; top:25px; box-shadow:8px 8px 0 rgba(0,0,0,.2); border-top:5px solid var(--teal); }
.receipt-top { display:flex; justify-content:space-between; gap:10px; align-items:center; border-bottom:1px solid var(--line); padding-bottom:20px; margin-bottom:25px; }
.brand-name { font-weight:700; font-size:14px; }
.receipt-top > span:last-child { font-size:7px; letter-spacing:1px; }
.receipt h3 { font-size:23px; margin-bottom:25px; }
.receipt-line { display:flex; justify-content:space-between; font-size:11px; margin:12px 0; gap:15px; }
.receipt-line b { white-space:nowrap; font-weight:500; }
#receipt-lines { border-bottom:1px solid var(--line); padding-bottom:8px; margin-bottom:17px; }
.total { border-block:1px solid var(--line); padding:20px 0; margin:20px 0; }
.total > span, .total > small { display:block; font-size:10px; }
.total strong { font-size:43px; letter-spacing:-2px; line-height:1.4; }
.deposit { display:flex; justify-content:space-between; font-size:10px; gap:10px; }
.monthly { background:#eeece5; padding:15px; margin:20px 0; }
.monthly > * { display:block; }
.monthly span, .monthly small { font-size:9px; }
.monthly strong { font-size:20px; margin:4px 0; }
.receipt .button { width:100%; font-size:12px; }
.print { border:0; background:none; display:block; width:100%; font-size:11px; color:var(--ink); margin-top:15px; }

/* Work */
.work-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:26px; }
.work-grid > a { border-bottom:1px solid var(--ink); padding-bottom:10px; }
.work-art { height:225px; padding:30px; overflow:hidden; }
.media-art { background:#193b65; color:#fff; }
.media-art > span { font-size:45px; font-weight:700; letter-spacing:-2px; }
.media-art > span > span { font-size:27px; font-weight:400; }
.mock-lines { display:flex; gap:8px; margin-top:25px; }
.mock-lines i { height:60px; background:rgba(255,255,255,.145); flex:1; }
.news-art { background:#ede7da; color:#27393d; border-top:5px solid var(--teal); }
.news-art small, .town-art small { font-size:7px; letter-spacing:2px; }
.news-art strong, .town-art strong { display:block; font-family:Georgia, serif; font-size:30px; line-height:1.1; margin-top:10px; font-weight:400; }
.news-art .mock-lines { margin-top:15px; }
.news-art .mock-lines i { height:20px; background:rgba(38,61,61,.082); }
.town-art { background:#2f5b3b; color:#f2eadc; }
.clock-art { background:var(--ink); color:#e8c38b; text-align:center; }
.clock-art strong { display:block; font-family:Georgia, serif; font-weight:400; margin-top:10px; }
.clock-face { width:104px; height:104px; border:1px solid #d9b359; border-radius:50%; margin:auto; position:relative; }
.clock-face i, .clock-face b { position:absolute; bottom:50%; left:50%; height:34px; width:2px; background:#d9b359; transform-origin:center bottom; }
.clock-face i { transform:rotate(35deg); }
.clock-face b { transform:rotate(100deg); height:27px; }
.work-grid h3 { font-size:16px; margin:20px 0 4px; display:flex; justify-content:space-between; }
.work-grid p { font-size:12px; color:var(--muted); margin:0; }

/* Process, FAQ, closing */
.process { border-top:1px solid var(--ink); padding:50px 0 85px; }
.steps { display:grid; grid-template-columns:repeat(4, 1fr); gap:35px; margin-top:40px; }
.steps article { border-top:1px solid #c9d3c9; padding-top:20px; }
.steps span { font-size:29px; color:var(--teal); font-weight:700; }
.steps h3 { font-size:18px; margin:13px 0; }
.steps p { font-size:12px; color:var(--muted); }
.faq-section { background:#fff; padding:85px 0; border-top:1px solid var(--ink); }
.faq-grid { display:grid; grid-template-columns:1fr 1.2fr; gap:80px; }
.faq-grid h2 { font-size:39px; }
details { border-bottom:1px solid #ced8cc; padding:18px 0; }
summary { font-size:13px; font-weight:600; cursor:pointer; list-style:none; display:flex; justify-content:space-between; gap:20px; }
summary::-webkit-details-marker { display:none; }
summary::after { content:"+"; font-size:20px; line-height:1; }
details[open] summary::after { content:"−"; }
details p { font-size:12px; color:var(--muted); margin:15px 30px 0 0; }
details a { text-decoration:underline; }
.closing { display:flex; align-items:center; justify-content:space-between; padding-block:85px; gap:30px; border-top:1px solid var(--ink); }
.closing p:not(.eyebrow) { max-width:420px; font-size:14px; color:var(--muted); }
.closing h2 { font-size:60px; }
.closing .button { font-size:18px; padding:23px 28px; }
footer { background:var(--ink); color:#d7e1d9; padding:35px 0; }
footer > div { display:flex; flex-wrap:wrap; align-items:center; gap:25px; }
footer .brand { font-size:19px; }
.footer-brand span { color:#f27259; }
footer p, footer a:not(.brand) { font-size:10px; margin:0; }
footer small { font-size:9px; margin-left:auto; }
footer .credits { width:100%; font-size:9px; opacity:.8; }
footer .credits a { text-decoration:underline; font-size:9px; }

dialog { border:0; background:#fff; padding:40px; max-width:510px; width:calc(100% - 32px); color:var(--ink); }
dialog::backdrop { background:rgba(17,41,42,.79); }
dialog h2 { font-size:32px; }
dialog > p:not(.eyebrow) { font-size:13px; color:var(--muted); }
dialog label { font-size:12px; display:block; margin:14px 0; }
dialog input, dialog textarea { width:100%; border:1px solid #bdcbc1; padding:10px; background:#fff; color:var(--ink); display:block; margin-top:5px; }
.close { position:absolute; right:15px; top:10px; font-size:25px; border:0; background:none; color:var(--ink); }

@media (max-width: 1000px) {
  .wrap { width:calc(100% - 48px); }
  header { padding:0 24px; }
  nav { gap:20px; }
  .hero { gap:30px; }
  .hero h1 { font-size:70px; letter-spacing:-2px; }
  .hero-art { min-height:470px; }
  .board-content h3 { font-size:32px; }
  .plans article { padding:27px; }
  .price { font-size:24px; }
  .plans h3 { font-size:21px; }
  .calculator-grid { gap:35px; }
  .business-detail { gap:40px; }
  .faq-grid { gap:35px; }
  .work-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns:1fr; }
  .hero-art { max-width:620px; }
}
@media (max-width: 720px) {
  .wrap { width:calc(100% - 40px); }
  header { height:80px; padding:0 20px; }
  .brand { font-size:21px; }
  .menu { display:block; border:0; background:none; color:var(--ink); font-size:24px; }
  nav { display:none; position:absolute; top:75px; left:15px; right:15px; flex-direction:column; padding:25px; background:#fff; border:1px solid var(--line); z-index:20; }
  nav.open { display:flex; }
  .hero { grid-template-columns:1fr; gap:30px; padding-top:15px; padding-bottom:50px; }
  .hero-topline { gap:20px; margin-bottom:0; font-size:7px; }
  .hero-topline span:last-child { text-align:right; max-width:140px; }
  .hero h1 { font-size:clamp(48px, 15vw, 68px); letter-spacing:-3px; }
  .intro { font-size:21px; }
  .hero-art { min-height:415px; padding:0 5px 0 0; width:100%; }
  .board-bar { padding:15px; }
  .board-content { padding:23px 17px; min-height:235px; }
  .board-content h3 { font-size:28px; }
  .board-content small { font-size:5px; }
  .board-content img { width:44%; }
  .board-bar > span { font-size:6px; }
  .board-bottom { font-size:4px; padding:12px 8px; }
  .mobile-mock { width:113px; min-height:210px; right:0; }
  .mobile-mock img { height:66px; }
  .mobile-mock h4 { font-size:16px; }
  .project-caption { gap:15px; padding-top:20px; }
  .project-caption strong { font-size:11px; }
  .project-caption > span { font-size:6px; }
  .hero-notes { font-size:7px; gap:11px; }
  .actions { gap:18px; }
  .actions .button { padding:14px 19px; }
  .benefit-strip > div { flex-wrap:wrap; gap:8px; font-size:10px; }
  .benefit-strip > div > span { width:100%; }
  .section { padding-block:60px; }
  .section-head { display:block; margin-bottom:30px; }
  .section-head > p { margin-top:20px; }
  h2, .section-head h2 { font-size:36px; }
  .plans { grid-template-columns:1fr; }
  .plans article { padding:30px; border-right:0; border-bottom:1px solid var(--ink); }
  .plans article:last-child { border-bottom:0; }
  .plans p:not(.eyebrow) { min-height:0; }
  .recommend { position:static; margin:-30px -30px 22px; }
  .custom { display:block; }
  .custom a { display:block; margin-top:10px; }
  .business-section { padding:60px 0; }
  .business-tabs { gap:6px; }
  .business-tabs button { padding:8px 12px; font-size:11px; }
  .business-detail { grid-template-columns:1fr; gap:35px; }
  .business-detail h3 { font-size:28px; }
  .business-preview { margin-right:8px; }
  .calculator-section { padding:60px 0; }
  .calculator-grid { grid-template-columns:1fr; gap:35px; }
  .option span { padding:13px; font-size:12px; }
  .receipt { position:static; padding:25px; box-shadow:5px 5px 0 rgba(0,0,0,.2); }
  .total strong { font-size:40px; }
  .work-grid { grid-template-columns:1fr; gap:25px; }
  .steps { grid-template-columns:1fr 1fr; gap:25px; }
  .process { padding-bottom:55px; }
  .faq-section { padding:55px 0; }
  .faq-grid { grid-template-columns:1fr; gap:25px; }
  .faq-grid h2 { font-size:34px; }
  .closing { padding-block:60px; display:block; }
  .closing h2 { font-size:48px; }
  .closing .button { font-size:16px; margin-top:15px; }
  footer > div { gap:18px; }
  footer small { width:100%; margin:0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } * { transition:none !important; } }
@media print {
  body > :not(main), main > section:not(.calculator-section), .calculator-grid > div, .receipt button { display:none !important; }
  .calculator-section { background:#fff; padding:0; color:#000; }
  .calculator-grid { display:block; }
  .receipt { box-shadow:none; position:static; max-width:600px; margin:auto; }
}
