/* Capital Verde CR — Costa Rica · Google Ads compliant */
:root {
    --green: #0F9D58;
    --green-dark: #0a7a45;
    --blue: #0A3D62;
    --blue-light: #145a8a;
    --gold: #F4B400;
    --gold-dark: #d9a000;
    --white: #ffffff;
    --gray: #f4f6f8;
    --gray-mid: #e8ecf0;
    --text: #1a2b3c;
    --muted: #5a6b7d;
    --border: #dde3ea;
    --whatsapp: #25d366;
    --radius: 12px;
    --shadow: 0 10px 40px rgba(10, 61, 98, 0.1);
    --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }
a { color: var(--blue-light); text-decoration: none; }
a:hover { color: var(--green); }
.fcr-wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* Ads bar */
.fcr-ads-bar { background: var(--blue); color: rgba(255,255,255,.9); font-size: .78rem; padding: .45rem 0; text-align: center; line-height: 1.5; }
.fcr-ads-bar a { color: var(--gold); font-weight: 600; margin: 0 .25rem; }
.fcr-ads-bar a:hover { color: #fff; }

/* Topbar */
.fcr-topbar { background: var(--green); color: #fff; font-size: .82rem; padding: .45rem 0; }
.fcr-topbar-inner { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; }
.fcr-topbar strong { color: var(--gold); }
.fcr-topbar-phone { color: #fff; font-weight: 600; }

/* Header */
.fcr-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; transition: box-shadow .3s; }
.fcr-header.scrolled { box-shadow: var(--shadow); }
.fcr-header-inner { display: flex; align-items: center; gap: 1rem; padding: .75rem 0; }
.fcr-logo { display: flex; align-items: center; gap: .6rem; color: var(--blue); flex-shrink: 0; }
.fcr-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.fcr-logo-text strong { font-family: var(--font-display); font-size: 1.05rem; }
.fcr-logo-text small { font-size: .68rem; color: var(--muted); font-weight: 500; }
.fcr-header-search { flex: 1; max-width: 280px; display: flex; margin: 0 auto; }
.fcr-header-search input { flex: 1; border: 1px solid var(--border); border-radius: 8px 0 0 8px; padding: .5rem .75rem; font-size: .88rem; font-family: inherit; }
.fcr-header-search button { background: var(--blue); color: #fff; border: none; padding: .5rem .75rem; border-radius: 0 8px 8px 0; cursor: pointer; }
.fcr-nav { display: flex; align-items: center; gap: 1rem; }
.fcr-nav a { font-weight: 500; font-size: .9rem; color: var(--text); white-space: nowrap; }
.fcr-nav a:hover { color: var(--green); }
.fcr-nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; }
.fcr-nav-toggle span { width: 24px; height: 2px; background: var(--blue); }

/* Buttons */
.fcr-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .7rem 1.35rem; border-radius: 8px; font-weight: 600; font-size: .92rem; border: 2px solid transparent; cursor: pointer; transition: .25s; font-family: inherit; text-decoration: none; }
.fcr-btn-primary { background: var(--green); color: #fff; }
.fcr-btn-primary:hover { background: var(--green-dark); color: #fff; }
.fcr-btn-gold { background: var(--gold); color: var(--blue); }
.fcr-btn-gold:hover { background: var(--gold-dark); color: var(--blue); }
.fcr-btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.fcr-btn-outline:hover { background: var(--blue); color: #fff; }
.fcr-btn-whatsapp { background: var(--whatsapp); color: #fff; margin-top: 1rem; }
.fcr-btn-whatsapp:hover { filter: brightness(1.08); color: #fff; }
.fcr-btn-sm { padding: .5rem 1rem; font-size: .85rem; }
.fcr-btn-group { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* Hero */
.fcr-hero { position: relative; min-height: 88vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.fcr-hero-bg { position: absolute; inset: 0; }
.fcr-hero-bg img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.fcr-hero-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(10,61,98,.93) 0%, rgba(15,157,88,.75) 55%, rgba(10,61,98,.5) 100%); }
.fcr-hero-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 360px; gap: 2.5rem; align-items: center; padding: 4rem 0; }
.fcr-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.12; margin: 1rem 0; }
.fcr-hero h1 span { color: var(--gold); }
.fcr-hero p { font-size: 1.05rem; opacity: .92; max-width: 540px; margin-bottom: 1.5rem; }
.fcr-tag { display: inline-block; background: rgba(244,180,0,.2); border: 1px solid var(--gold); color: var(--gold); padding: .3rem .8rem; border-radius: 999px; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.fcr-hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.fcr-hero-stats { display: flex; gap: 2rem; list-style: none; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.2); }
.fcr-hero-stats strong { font-size: 1.4rem; color: var(--gold); display: block; }
.fcr-hero-stats span { font-size: .78rem; opacity: .8; }
.fcr-hero-card { background: rgba(255,255,255,.97); color: var(--text); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); }
.fcr-hero-card h2 { font-family: var(--font-display); font-size: 1.2rem; color: var(--blue); margin-bottom: .5rem; }
.fcr-rate-box { display: flex; flex-direction: column; gap: .6rem; margin: 1rem 0; }
.fcr-rate-item { display: flex; justify-content: space-between; padding: .65rem; background: var(--gray); border-radius: 8px; font-weight: 600; }
.fcr-rate-item span { color: var(--muted); font-weight: 400; font-size: .85rem; }

/* Sections */
.fcr-section { padding: 4.5rem 0; }
.fcr-section-muted { background: var(--gray); }
.fcr-section-dark { background: var(--blue); color: #fff; }
.fcr-section-dark h2, .fcr-section-dark h3 { color: #fff; }
.fcr-section-dark p { color: rgba(255,255,255,.85); }
.fcr-section-header { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.fcr-section-header h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--blue); margin-bottom: .6rem; }
.fcr-muted { color: var(--muted); font-size: .9rem; }

/* Grid */
.fcr-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.fcr-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.fcr-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); transition: transform .3s; border: 1px solid var(--border); }
.fcr-card:hover { transform: translateY(-4px); }
.fcr-card-link { display: block; color: inherit; }
.fcr-card-link:hover { color: inherit; }
.fcr-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; margin-bottom: 1rem; }
.fcr-card h3 { font-family: var(--font-display); font-size: 1.05rem; color: var(--blue); margin-bottom: .5rem; }

/* Split */
.fcr-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.fcr-check-list { list-style: none; margin: 1rem 0; }
.fcr-check-list li { padding: .45rem 0 .45rem 1.6rem; position: relative; border-bottom: 1px solid var(--border); }
.fcr-check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* Page hero */
.fcr-page-hero { background: linear-gradient(135deg, var(--blue), var(--green)); color: #fff; padding: 3.5rem 0; text-align: center; }
.fcr-page-hero h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); margin: .5rem 0; }
.fcr-page-hero p { opacity: .9; max-width: 600px; margin: 0 auto; }
.fcr-hero-note { margin-top: 1rem; font-size: .88rem; opacity: .9; }

/* Legal */
.fcr-legal { max-width: 800px; }
.fcr-legal h1 { font-family: var(--font-display); color: var(--blue); margin-bottom: 1rem; }
.fcr-legal h2 { font-size: 1.15rem; color: var(--blue); margin: 2rem 0 .75rem; }
.fcr-legal p, .fcr-legal li { margin-bottom: .75rem; color: var(--text); }
.fcr-legal ul { padding-left: 1.25rem; }
.fcr-legal-alert { background: #fff8e6; border-left: 4px solid var(--gold); padding: 1rem 1.25rem; border-radius: 0 8px 8px 0; margin: 1rem 0; font-size: .92rem; }

/* FAQ */
.fcr-faq-item { border-bottom: 1px solid var(--border); }
.fcr-faq-q { width: 100%; text-align: left; background: none; border: none; padding: 1.1rem 0; font-weight: 600; font-size: 1rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: inherit; color: var(--blue); }
.fcr-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s; color: var(--muted); }
.fcr-faq-item.open .fcr-faq-a { max-height: 500px; padding-bottom: 1rem; }
.fcr-faq-item.open .fcr-faq-q::after { content: '−'; }
.fcr-faq-q::after { content: '+'; color: var(--green); font-size: 1.2rem; }

/* Forms */
.fcr-form-group { margin-bottom: 1rem; }
.fcr-form-group label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .9rem; }
.fcr-form-input, .fcr-form-select, .fcr-form-textarea { width: 100%; padding: .75rem 1rem; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; font-size: .95rem; }
.fcr-form-textarea { min-height: 120px; resize: vertical; }

/* Calculator */
.fcr-calc-card { background: var(--white); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); }
.fcr-calc-result { background: var(--gray); padding: 1.25rem; border-radius: 8px; margin-top: 1rem; }
.fcr-calc-result strong { font-size: 1.4rem; color: var(--green); }

/* Blog */
.fcr-blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.fcr-blog-meta { font-size: .8rem; color: var(--muted); margin: .5rem 0; }
.fcr-article-content { max-width: 760px; margin: 0 auto; }
.fcr-article-content h2 { font-family: var(--font-display); color: var(--blue); margin: 2rem 0 .75rem; }
.fcr-article-content p { margin-bottom: 1rem; }

/* Breadcrumbs */
.fcr-breadcrumbs { font-size: .85rem; margin-bottom: 1.5rem; }
.fcr-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; }
.fcr-breadcrumbs li:not(:last-child)::after { content: '›'; margin-left: .35rem; color: var(--muted); }

/* Testimonials */
.fcr-testimonial { background: var(--white); padding: 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.fcr-testimonial img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin-bottom: .75rem; }
.fcr-stars { color: var(--gold); font-size: .9rem; margin-bottom: .5rem; }

/* Tables */
.fcr-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.fcr-table th, .fcr-table td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.fcr-table th { background: var(--blue); color: #fff; }
.fcr-up { color: var(--green); font-weight: 600; }
.fcr-down { color: #c0392b; font-weight: 600; }

/* CTA */
.fcr-cta { background: linear-gradient(135deg, var(--green), var(--blue)); color: #fff; border-radius: var(--radius); padding: 2.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.fcr-cta h2 { font-family: var(--font-display); font-size: 1.6rem; }

/* Footer */
.fcr-footer { background: var(--blue); color: rgba(255,255,255,.85); padding: 3.5rem 0 0; }
.fcr-footer h4 { color: #fff; margin-bottom: 1rem; font-size: .95rem; }
.fcr-footer ul { list-style: none; }
.fcr-footer li { margin-bottom: .4rem; }
.fcr-footer a { color: rgba(255,255,255,.8); font-size: .88rem; }
.fcr-footer a:hover { color: var(--gold); }
.fcr-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.fcr-footer-entity { font-size: .8rem; opacity: .7; margin-top: .75rem; }
.fcr-footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2.5rem; padding: 1.25rem 0; font-size: .8rem; }
.fcr-footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.fcr-footer-legal-links { display: flex; gap: 1rem; }
.fcr-disclaimer-bottom { background: var(--gray); padding: .75rem 0; font-size: .78rem; color: var(--muted); border-top: 1px solid var(--border); }
.fcr-disclaimer-bottom a { font-weight: 600; margin-left: .5rem; }

/* Cookie banner */
.fcr-cookie { position: fixed; bottom: 0; left: 0; right: 0; background: var(--blue); color: #fff; padding: 1rem 0; z-index: 200; box-shadow: 0 -4px 20px rgba(0,0,0,.15); }
.fcr-cookie-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.fcr-cookie p { font-size: .88rem; max-width: 700px; }
.fcr-cookie a { color: var(--gold); }
.fcr-cookie-actions { display: flex; gap: .75rem; flex-shrink: 0; }
.fcr-cookie .fcr-btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }

/* Animations */
.fcr-fade-in { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
.fcr-fade-in.visible { opacity: 1; transform: none; }

/* Pricing */
.fcr-price-card { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); border: 2px solid var(--border); text-align: center; }
.fcr-price-card.featured { border-color: var(--gold); position: relative; }
.fcr-price-card .price { font-family: var(--font-display); font-size: 2rem; color: var(--green); margin: .5rem 0; }
.fcr-price-card ul { list-style: none; text-align: left; margin: 1.25rem 0; font-size: .9rem; }
.fcr-price-card li { padding: .35rem 0 .35rem 1.25rem; position: relative; }
.fcr-price-card li::before { content: '✓'; position: absolute; left: 0; color: var(--green); }

/* Responsive */
@media (max-width: 960px) {
    .fcr-hero-content, .fcr-split, .fcr-footer-grid { grid-template-columns: 1fr; }
    .fcr-header-search { display: none; }
    .fcr-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 1rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
    .fcr-nav.open { display: flex; }
    .fcr-nav-toggle { display: flex; }
    .fcr-topbar-hide-mobile { display: none; }
    .fcr-ads-bar { font-size: .7rem; }
}
