/* ============================================================
   Boca Raton Website Designer — Design System
   Clean & Modern (Blue / White), premium, performance-first
   ============================================================ */

:root {
  /* Palette */
  --blue-900: #0a2540;
  --blue-800: #0f3a66;
  --blue-700: #1450a3;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;

  --ink:      #0b1b32;
  --slate:    #475569;
  --slate-2:  #64748b;
  --line:     #e2e8f0;
  --line-2:   #eef2f7;
  --white:    #ffffff;
  --off:      #f7fafc;

  --accent:   #06b6d4; /* cyan accent for sparing highlights */
  --wa:       #25d366; /* whatsapp green */
  --wa-dark:  #128c7e;

  /* Typography */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing & radius */
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(10,37,64,.06), 0 1px 3px rgba(10,37,64,.08);
  --shadow-md: 0 10px 30px -10px rgba(10,37,64,.18);
  --shadow-lg: 0 30px 60px -20px rgba(10,37,64,.28);
  --maxw: 1180px;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ---------- Typography ---------- */
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; color: var(--ink); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before { content:""; width: 26px; height: 2px; background: var(--blue-600); display:inline-block; }
.lead { font-size: 1.18rem; color: var(--slate); }
.muted { color: var(--slate-2); }
.center { text-align: center; }
.accent-text { color: var(--blue-600); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: .98rem; padding: 15px 28px; border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap; cursor: pointer;
}
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 20px -6px rgba(37,99,235,.5); }
.btn-primary:hover { background: var(--blue-700); transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(37,99,235,.6); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px -6px rgba(37,211,102,.5); }
.btn-wa:hover { background: #1ebe5b; transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(37,211,102,.55); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--blue-400); color: var(--blue-700); transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.06rem; letter-spacing: -.01em; color: var(--ink); }
.brand .logo-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  display: grid; place-items: center; color: #fff; font-weight: 800; flex-shrink: 0;
  box-shadow: 0 6px 14px -4px rgba(37,99,235,.5);
}
.brand .logo-mark svg { width: 21px; height: 21px; }
.brand-text small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-600); margin-top: -2px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-weight: 600; font-size: .98rem; color: var(--slate); transition: color .18s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after { content:""; position:absolute; left:0; bottom:-6px; width:100%; height:2px; background: var(--blue-600); border-radius:2px; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; border: 1px solid var(--line); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content:""; display:block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .25s;
}
.nav-toggle span::before { position:absolute; top:-6px; }
.nav-toggle span::after { position:absolute; top:6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top:0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top:0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 92px 0 84px; overflow: hidden; }
.hero::before {
  content:""; position:absolute; inset:0; z-index:-2;
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(96,165,250,.18), transparent 60%),
    radial-gradient(50% 40% at 0% 30%, rgba(6,182,212,.10), transparent 55%),
    var(--white);
}
.hero::after {
  content:""; position:absolute; inset:0; z-index:-1; opacity:.5;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 70% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 70% 20%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin: 18px 0 20px; }
.hero h1 em { font-style: italic; color: var(--blue-600); }
.hero p.lead { max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 34px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; color: var(--slate-2); font-size: .9rem; font-weight: 600; }
.hero-trust .stars { color: #f59e0b; letter-spacing: 2px; }
.hero-trust .divider { width:1px; height: 22px; background: var(--line); }

/* Hero visual: stacked browser mockups */
.hero-visual { position: relative; }
.mock {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-2); overflow: hidden;
}
.mock-bar { height: 34px; background: #f1f5f9; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid var(--line-2); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; display:inline-block; }
.mock-bar i:nth-child(1){ background:#ff5f57; } .mock-bar i:nth-child(2){ background:#febc2e; } .mock-bar i:nth-child(3){ background:#28c840; }
.mock-main { position: relative; z-index: 2; transform: rotate(-1.2deg); }
.mock-float {
  position: absolute; width: 47%; right: -14px; bottom: -34px; z-index: 3;
  transform: rotate(2.5deg); box-shadow: var(--shadow-lg);
}
.hero-badge {
  position: absolute; left: -20px; top: 38px; z-index: 4;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: .9rem;
}
.hero-badge .dot { width: 38px; height: 38px; border-radius: 10px; background: var(--blue-50); color: var(--blue-600); display:grid; place-items:center; }
.hero-badge small { display:block; font-weight: 600; color: var(--slate-2); font-size: .76rem; }

/* ---------- Generic section heading ---------- */
.sec-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.sec-head h2 { margin: 14px 0 16px; }
.sec-head.left { margin-left: 0; text-align: left; }

/* ---------- Trust bar ---------- */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; }
.logos span { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: #94a3b8; letter-spacing: -.01em; }

/* ---------- Cards / Services ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.card .ico {
  width: 54px; height: 54px; border-radius: 14px; display:grid; place-items:center;
  background: linear-gradient(135deg, var(--blue-50), #fff); border: 1px solid var(--blue-100);
  color: var(--blue-600); margin-bottom: 20px;
}
.card .ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; font-size: 1.28rem; }
.card p { color: var(--slate); font-size: .98rem; }

/* ---------- Feature split ---------- */
.split { display:grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items:center; }
.feature-list { margin-top: 26px; display: grid; gap: 18px; }
.feature-list li { display:flex; gap: 14px; align-items:flex-start; }
.feature-list .chk {
  flex-shrink:0; width: 28px; height: 28px; border-radius: 8px; background: var(--blue-50);
  color: var(--blue-600); display:grid; place-items:center; margin-top: 2px;
}
.feature-list .chk svg { width: 16px; height: 16px; }
.feature-list strong { display:block; font-size: 1.02rem; color: var(--ink); }
.feature-list span { color: var(--slate); font-size: .96rem; }

/* ---------- Portfolio ---------- */
.port-featured { margin-bottom: 26px; }
.port-card {
  position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease;
}
.port-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.port-card img { width: 100%; aspect-ratio: 1200/940; object-fit: cover; transition: transform .5s ease; }
.port-card:hover img { transform: scale(1.04); }
.port-card.featured img { aspect-ratio: 1200/720; }
.port-meta {
  display:flex; align-items:center; justify-content: space-between; gap: 12px; padding: 20px 22px;
  border-top: 1px solid var(--line-2);
}
.port-meta h3 { font-size: 1.2rem; margin: 0; }
.port-meta .tag { font-size: .78rem; font-weight: 700; color: var(--blue-700); background: var(--blue-50); padding: 5px 12px; border-radius: 999px; letter-spacing: .02em; }
.port-meta p { color: var(--slate-2); font-size: .88rem; margin-top: 3px; }

/* ---------- Stats ---------- */
.stats { display:grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat { text-align:center; padding: 28px 16px; border-radius: var(--radius); background: var(--blue-50); border: 1px solid var(--blue-100); }
.stat .num { font-family: var(--font-display); font-weight: 600; font-size: 2.6rem; color: var(--blue-700); line-height: 1; }
.stat .lbl { color: var(--slate); font-weight: 600; font-size: .92rem; margin-top: 8px; }

/* ---------- Process ---------- */
.steps { display:grid; grid-template-columns: repeat(4,1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 24px; border-radius: var(--radius); border:1px solid var(--line); background:#fff; }
.step .n {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--blue-100); line-height:1; margin-bottom: 10px;
}
.step h3 { font-size: 1.16rem; margin-bottom: 8px; }
.step p { color: var(--slate); font-size: .94rem; }

/* ---------- Testimonials ---------- */
.quote-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.quote-card .stars { color:#f59e0b; letter-spacing:2px; margin-bottom: 14px; font-size: .95rem; }
.quote-card p { color: var(--ink); font-size: 1.04rem; font-style: italic; }
.quote-card .who { margin-top: 18px; display:flex; align-items:center; gap: 12px; }
.quote-card .av { width: 44px; height:44px; border-radius:50%; background: linear-gradient(135deg,var(--blue-500),var(--blue-700)); color:#fff; display:grid; place-items:center; font-weight:800; }
.quote-card .who strong { display:block; font-size: .96rem; }
.quote-card .who span { color: var(--slate-2); font-size: .84rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow:hidden; padding: 64px 48px; text-align:center; color:#fff;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-600) 60%, var(--blue-500)); }
.cta-band::after { content:""; position:absolute; inset:0; opacity:.25;
  background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,.4) 0, transparent 28%), radial-gradient(circle at 85% 70%, rgba(255,255,255,.3) 0, transparent 30%); }
.cta-band > * { position: relative; z-index:1; }
.cta-band h2 { color:#fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 560px; margin: 0 auto 28px; font-size: 1.1rem; }
.cta-band .btn-wa { background:#fff; color: var(--wa-dark); }
.cta-band .btn-wa:hover { background: #f0fff6; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: #cbd5e1; padding: 64px 0 28px; }
.footer-grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color:#fff; font-family: var(--font-body); font-size: .82rem; letter-spacing:.12em; text-transform:uppercase; margin-bottom: 18px; }
.site-footer a { color:#cbd5e1; font-size:.95rem; line-height: 2; transition: color .18s; }
.site-footer a:hover { color:#fff; }
.footer-brand .brand { color:#fff; margin-bottom: 16px; }
.footer-brand p { color:#94a3b8; font-size:.94rem; max-width: 290px; }
.footer-brand .logo-mark { box-shadow:none; }
.footer-contact li { display:flex; gap:10px; align-items:flex-start; margin-bottom: 12px; font-size:.94rem; color:#cbd5e1; }
.footer-contact svg { width:18px; height:18px; flex-shrink:0; margin-top:3px; color: var(--blue-400); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display:flex; justify-content:space-between; gap: 16px; flex-wrap:wrap; color:#94a3b8; font-size:.88rem; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  display: flex; align-items: center; gap: 0; overflow: hidden;
  background: var(--wa); color:#fff; border-radius: 999px; padding: 0;
  box-shadow: 0 12px 28px -6px rgba(37,211,102,.6);
  width: 60px; height: 60px; transition: width .35s ease;
}
.wa-float svg { width: 30px; height: 30px; flex-shrink:0; margin: 15px; }
.wa-float .wa-label { white-space: nowrap; font-weight: 700; padding-right: 22px; opacity: 0; transition: opacity .25s; }
.wa-float:hover { width: 215px; }
.wa-float:hover .wa-label { opacity: 1; }
.wa-float::after {
  content:""; position:absolute; inset:0; border-radius:999px;
  box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: waPulse 2.4s infinite;
}
@keyframes waPulse { 0%{ box-shadow:0 0 0 0 rgba(37,211,102,.5);} 70%{ box-shadow:0 0 0 16px rgba(37,211,102,0);} 100%{ box-shadow:0 0 0 0 rgba(37,211,102,0);} }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Contact page ---------- */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.info-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.info-row { display:flex; gap:16px; align-items:flex-start; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.info-row:last-child { border-bottom:none; }
.info-row .ico { width:46px; height:46px; border-radius:12px; background: var(--blue-50); color:var(--blue-600); display:grid; place-items:center; flex-shrink:0; }
.info-row .ico svg { width:22px; height:22px; }
.info-row strong { display:block; font-size:1rem; }
.info-row a, .info-row span { color: var(--slate); font-size:.96rem; }
.info-row a:hover { color: var(--blue-600); }
.map-wrap { border-radius: var(--radius); overflow:hidden; border:1px solid var(--line); box-shadow: var(--shadow-sm); margin-top: 26px; }
.map-wrap iframe { width:100%; height: 280px; border:0; display:block; }
.big-wa {
  background: linear-gradient(135deg,#0f3a66,#2563eb); border-radius: var(--radius-lg); padding: 44px 38px; color:#fff; text-align:center;
}
.big-wa h2 { color:#fff; margin-bottom: 12px; }
.big-wa p { color: rgba(255,255,255,.9); margin-bottom: 26px; }

/* ---------- Page hero (inner) ---------- */
.page-hero { padding: 70px 0 50px; position: relative; background: var(--off); border-bottom: 1px solid var(--line-2); overflow:hidden; }
.page-hero::before { content:""; position:absolute; inset:0; z-index:0;
  background: radial-gradient(50% 60% at 80% 0%, rgba(96,165,250,.14), transparent 60%); }
.page-hero .container { position: relative; z-index:1; }
.page-hero h1 { margin: 14px 0 14px; }
.page-hero p { max-width: 620px; color: var(--slate); font-size: 1.12rem; }
.breadcrumb { font-size: .86rem; color: var(--slate-2); margin-bottom: 4px; }
.breadcrumb a:hover { color: var(--blue-600); }

/* ---------- About specifics ---------- */
.value-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.about-portrait { border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-lg); border:1px solid var(--line); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 560px; }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .value-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .nav-links {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; padding: 8px 24px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); transform: translateY(-130%); transition: transform .3s ease; align-items: stretch;
  }
  body.nav-open .nav-links { transform: translateY(0); }
  .nav-links a { padding: 15px 0; border-bottom: 1px solid var(--line-2); font-size: 1.05rem; }
  .nav-links a.active::after { display:none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-desktop { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.rev > div:first-child { order: 2; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { padding: 44px 24px; }
  .hero { padding: 60px 0 56px; }
  .hero-actions .btn { flex: 1; }
  .mock-float { display: none; }
  .mock-main { transform: none; }
  .hero-badge { left: 8px; top: 14px; }
  /* Bigger tap targets on mobile */
  .wa-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
  .wa-float svg { margin: 13px; }
}

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