/* =============================================
   POCITOS 3 BEDROOM — Global Stylesheet
   Accent: Forest Sage #4A7C59
   Fonts: Playfair Display + Inter
============================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent: #4A7C59;
  --accent-light: #6A9E78;
  --accent-pale: #EBF3EE;
  --accent-badge: rgba(74, 124, 89, 0.10);
  --navy: #0D1B2A;
  --text: #2C3E50;
  --muted: #6B7280;
  --border: #E5E7EB;
  --bg: #FAFAFA;
  --white: #FFFFFF;
  --sand: #F5F0E8;
  --gold: #C9A96E;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(13,27,42,0.08);
  --shadow-sm: 0 2px 12px rgba(13,27,42,0.06);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }

h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; color: var(--navy); line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { margin-bottom: 1rem; color: var(--text); }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-light); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--alt { background: var(--sand); }
.section--dark { background: var(--navy); color: var(--white); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark p, .section--dark li { color: rgba(255,255,255,0.82); }
.section-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; display: block; }
.section-title { margin-bottom: 16px; }
.section-subtitle { font-size: 1.05rem; color: var(--muted); max-width: 620px; margin-bottom: 48px; line-height: 1.7; }

/* --- Navigation --- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); transition: box-shadow var(--transition); }
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__logo-mark { width: 36px; height: 36px; background: var(--accent); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.nav__logo-mark svg { width: 20px; height: 20px; stroke: white; fill: none; }
.nav__logo-text { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.nav__logo-sub { font-size: 0.72rem; color: var(--muted); font-family: 'Inter', sans-serif; font-weight: 400; display: block; line-height: 1; }
.nav__links { display: flex; align-items: center; gap: 8px; }
.nav__links a { font-size: 0.875rem; font-weight: 500; color: var(--text); padding: 6px 12px; border-radius: var(--radius-sm); transition: background var(--transition), color var(--transition); }
.nav__links a:hover { background: var(--accent-pale); color: var(--accent); }
.nav__cta { background: var(--accent); color: white !important; padding: 8px 18px !important; border-radius: var(--radius-sm); font-weight: 600 !important; }
.nav__cta:hover { background: var(--accent-light) !important; color: white !important; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: var(--transition); }

/* --- Hero --- */
.hero { padding-top: 68px; min-height: 100vh; background: linear-gradient(135deg, var(--navy) 0%, #1a3a2a 60%, #2d5a3d 100%); display: flex; align-items: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 80px 0; position: relative; z-index: 1; }
.hero__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.hero__label::before { content: ''; display: inline-block; width: 28px; height: 1px; background: var(--gold); }
.hero__title { color: white; margin-bottom: 24px; }
.hero__title span { color: var(--gold); display: block; }
.hero__text { color: rgba(255,255,255,0.78); font-size: 1.05rem; margin-bottom: 32px; line-height: 1.75; }
.hero__stats { display: flex; gap: 32px; }
.hero__stat { }
.hero__stat-num { font-family: 'Playfair Display', serif; font-size: 1.75rem; font-weight: 700; color: white; line-height: 1; }
.hero__stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-top: 4px; }

/* --- Hero Form Panel --- */
.hero__form-panel { background: white; border-radius: 20px; padding: 36px; box-shadow: 0 24px 64px rgba(0,0,0,0.25); }
.form-panel__title { font-family: 'Playfair Display', serif; font-size: 1.35rem; color: var(--navy); margin-bottom: 6px; }
.form-panel__sub { font-size: 0.875rem; color: var(--muted); margin-bottom: 28px; }
.form-steps { }
.form-step { display: none; }
.form-step.active { display: block; }
.form-step__header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.form-step__num { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: white; font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.form-step__label { font-size: 0.82rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-row--full { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--navy); }
.form-group select, .form-group input { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.875rem; font-family: 'Inter', sans-serif; color: var(--text); background: white; transition: border-color var(--transition); -webkit-appearance: none; appearance: none; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.form-group select:focus, .form-group input:focus { outline: none; border-color: var(--accent); }
.form-group input::placeholder { color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 28px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 600; font-family: 'Inter', sans-serif; cursor: pointer; border: none; transition: all var(--transition); text-decoration: none; }
.btn--primary { background: var(--accent); color: white; }
.btn--primary:hover { background: var(--accent-light); color: white; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(74,124,89,0.3); }
.btn--outline { background: transparent; border: 1.5px solid var(--accent); color: var(--accent); }
.btn--outline:hover { background: var(--accent-pale); }
.btn--white { background: white; color: var(--navy); }
.btn--white:hover { background: var(--sand); color: var(--navy); }
.btn--full { width: 100%; }
.btn--back { background: none; border: none; color: var(--muted); font-size: 0.85rem; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 0; margin-bottom: 16px; font-family: 'Inter', sans-serif; transition: color var(--transition); }
.btn--back:hover { color: var(--text); }
.form-privacy { font-size: 0.75rem; color: var(--muted); text-align: center; margin-top: 12px; }

/* --- Icon Cards --- */
.icon-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.icon-cards--2 { grid-template-columns: repeat(2, 1fr); }
.icon-cards--4 { grid-template-columns: repeat(4, 1fr); }
.icon-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; transition: transform var(--transition), box-shadow var(--transition); }
.icon-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.icon-badge { width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--accent-badge); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.icon-badge svg { width: 26px; height: 26px; stroke: var(--accent); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-card h4 { margin-bottom: 8px; color: var(--navy); }
.icon-card p { font-size: 0.9rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* --- Stats Row --- */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat-item { text-align: center; }
.stat-item__num { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.stat-item__label { font-size: 0.875rem; color: var(--muted); line-height: 1.4; }

/* --- Cards --- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card { background: white; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__body { padding: 28px; }
.card__tag { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); background: var(--accent-pale); padding: 4px 10px; border-radius: 20px; margin-bottom: 14px; }
.card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.card p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* --- Checklist --- */
.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.925rem; color: var(--text); }
.checklist li::before { content: ''; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-pale); background-image: url("data:image/svg+xml,%3Csvg width='12' height='10' viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5L4.5 8.5L11 1' stroke='%234A7C59' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; margin-top: 2px; }

/* --- Table --- */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.data-table th { background: var(--navy); color: white; text-align: left; padding: 14px 16px; font-weight: 600; font-size: 0.82rem; letter-spacing: 0.04em; }
.data-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--accent-pale); }

/* --- Process Steps --- */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 30px; left: 10%; right: 10%; height: 1px; background: var(--border); z-index: 0; }
.process-step { text-align: center; position: relative; z-index: 1; }
.process-step__num { width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: white; font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.process-step h4 { margin-bottom: 8px; }
.process-step p { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* --- CTA Section --- */
.cta-section { background: linear-gradient(135deg, var(--navy) 0%, #1a3a2a 100%); padding: 80px 0; text-align: center; }
.cta-section h2 { color: white; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.75); max-width: 540px; margin: 0 auto 36px; font-size: 1.05rem; }

/* --- Profiles Section --- */
.profiles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.profile-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.profile-card__icon { width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--accent-badge); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.profile-card__icon svg { width: 26px; height: 26px; stroke: var(--accent); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.profile-card h4 { margin-bottom: 8px; }
.profile-card p { font-size: 0.875rem; color: var(--muted); margin: 0; }

/* --- Accordion / FAQ --- */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.accordion-trigger { width: 100%; background: white; border: none; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; text-align: left; gap: 16px; transition: background var(--transition); }
.accordion-trigger:hover { background: var(--accent-pale); }
.accordion-trigger span { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 600; color: var(--navy); }
.accordion-icon { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-pale); display: flex; align-items: center; justify-content: center; transition: transform var(--transition); }
.accordion-icon svg { width: 12px; height: 12px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; }
.accordion-item.open .accordion-icon { transform: rotate(180deg); background: var(--accent); }
.accordion-item.open .accordion-icon svg { stroke: white; }
.accordion-body { display: none; padding: 0 24px 20px; }
.accordion-item.open .accordion-body { display: block; }
.accordion-body p { font-size: 0.925rem; color: var(--muted); margin: 0; line-height: 1.7; }
.accordion-body a { color: var(--accent); }

/* --- Comparison Table --- */
.comparison-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.comparison-table th { padding: 14px 20px; text-align: center; font-weight: 600; font-size: 0.85rem; background: var(--navy); color: white; }
.comparison-table th:first-child { text-align: left; background: #162233; }
.comparison-table td { padding: 13px 20px; text-align: center; border-bottom: 1px solid var(--border); color: var(--text); }
.comparison-table td:first-child { text-align: left; font-weight: 500; color: var(--navy); }
.comparison-table tr.highlight td { background: var(--accent-pale); font-weight: 600; }
.comparison-table tr.highlight td:first-child { color: var(--accent); }
.check { color: var(--accent); font-size: 1rem; }
.partial { color: var(--gold); }
.dash { color: var(--border); }

/* --- Two-col layout --- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.two-col--center { align-items: center; }

/* --- Blockquote / Source --- */
.source-note { font-size: 0.8rem; color: var(--muted); border-left: 3px solid var(--accent-pale); padding-left: 12px; margin-top: 16px; line-height: 1.6; }
.source-note a { color: var(--accent); }

/* --- Page Hero (inner pages) --- */
.page-hero { padding-top: 68px; background: linear-gradient(135deg, var(--navy) 0%, #1a3a2a 100%); padding-bottom: 60px; padding-top: calc(68px + 60px); }
.page-hero__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.page-hero__label::before { content: ''; display: inline-block; width: 28px; height: 1px; background: var(--gold); }
.page-hero h1 { color: white; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 640px; line-height: 1.7; }

/* --- Footer --- */
.footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 60px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer__brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer__brand-mark { width: 36px; height: 36px; background: var(--accent); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.footer__brand-mark svg { width: 20px; height: 20px; stroke: white; fill: none; }
.footer__brand-name { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: white; }
.footer p { font-size: 0.875rem; line-height: 1.7; margin-bottom: 0; }
.footer h5 { color: white; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; font-family: 'Inter', sans-serif; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { font-size: 0.875rem; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer ul li a:hover { color: white; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; }
.footer__bottom p { font-size: 0.8rem; margin: 0; }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.footer__legal a:hover { color: white; }

/* --- Utility --- */
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.text-muted { color: var(--muted); }
.text-accent { color: var(--accent); }
.text-white { color: white; }
.bg-pale { background: var(--accent-pale); }
.inline-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.inline-link:hover { color: var(--accent-light); }

.form-honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 0.875rem; color: var(--accent); margin-top: 12px; }
.form-status[hidden] { display: none; }
.form-status-error { color: #c0392b; }

/* --- Mobile Nav --- */
@media (max-width: 900px) {
  .nav__links { display: none; position: fixed; top: 68px; left: 0; right: 0; background: white; flex-direction: column; padding: 16px 24px 24px; border-top: 1px solid var(--border); box-shadow: var(--shadow); gap: 4px; }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 10px 12px; }
  .nav__toggle { display: block; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { min-height: auto; }
  .hero__inner { padding: 60px 0; }
  .hero__stats { gap: 24px; }
  .icon-cards, .icon-cards--4 { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .cards-grid--2 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .profiles-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .icon-cards, .icon-cards--4 { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .profiles-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
}
