/* ============================================================
   Epoxy City LLC — epoxy flooring South Florida
   Design system: dark resin + electric cyan
   ============================================================ */
:root {
  --ink: #0a111e;
  --ink-2: #0f1b30;
  --ink-3: #16253f;
  --paper: #f5f8fc;
  --white: #ffffff;
  --text: #22314a;
  --muted: #5b6b85;
  --cyan: #38bdf8;
  --cyan-deep: #0284c7;
  --blue: #1d4ed8;
  --gold: #f5b301;
  --line: #e3eaf3;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 17, 30, .10);
  --shadow-lg: 0 24px 60px rgba(10, 17, 30, .18);
  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { 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;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--cyan-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; font-weight: 700; }
.container { width: min(1140px, 92%); margin: 0 auto; }
.section { padding: 72px 0; }
.section.alt { background: var(--paper); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 12px; }
.section-head p { color: var(--muted); }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan-deep); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--cyan), var(--blue)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 15.5px;
  padding: 15px 28px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  text-decoration: none !important; white-space: nowrap;
}
.btn-primary {
  color: #04121f;
  background: linear-gradient(135deg, #7dd3fc, var(--cyan) 45%, var(--cyan-deep));
  box-shadow: 0 10px 24px rgba(56, 189, 248, .38);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(56, 189, 248, .5); }
.btn-ghost { color: var(--white); background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-dark { color: var(--white); background: var(--ink); }
.btn-dark:hover { background: var(--ink-3); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10, 17, 30, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.brand img { width: 44px; height: 44px; border-radius: 10px; flex: none; }
.brand .word { display: flex; flex-direction: column; line-height: 1.12; white-space: nowrap; }
.brand .word b { font-family: var(--font-head); font-size: 17.5px; letter-spacing: .05em; }
.brand .word span { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); font-weight: 600; }
.nav .mobile-cta { display: none; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a { color: #d6e2f2; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--cyan); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { color: var(--white); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.nav-phone:hover { color: var(--cyan); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(100deg, rgba(6,11,22,.94) 8%, rgba(6,11,22,.72) 48%, rgba(6,11,22,.38) 100%); }
.hero-inner { position: relative; z-index: 2; padding: 96px 0 88px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: #e8f4ff;
  background: rgba(56,189,248,.14); border: 1px solid rgba(56,189,248,.35);
  padding: 7px 14px; border-radius: 999px;
}
.badge .star { color: var(--gold); letter-spacing: 1px; }
.hero h1 { color: var(--white); font-size: clamp(32px, 5.4vw, 54px); max-width: 760px; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #7dd3fc, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { margin: 20px 0 30px; max-width: 640px; color: #c4d3e8; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: #8fa5c2; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--ink-2); color: #b9c9df; border-top: 1px solid rgba(255,255,255,.06); }
.trust-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 22px 0; }
.trust-item { display: flex; align-items: center; gap: 11px; font-size: 14.5px; }
.trust-item b { color: var(--white); }
.trust-item .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); flex: none; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 20px; margin: 14px 0 10px; }
.card p { color: var(--muted); font-size: 15.3px; flex: 1; }
.card .icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(56,189,248,.16), rgba(29,78,216,.12));
  font-size: 24px;
}
.card .more { margin-top: 16px; font-weight: 600; font-size: 14.5px; color: var(--cyan-deep); }
.card.media { padding: 0; overflow: hidden; }
.card.media .thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card.media .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card.media:hover .thumb img { transform: scale(1.05); }
.card.media .body { padding: 22px; }
.tag { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(10,17,30,.8); color: #cfeaff; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(56,189,248,.4); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 64px; margin-bottom: 30px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 2px;
  font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--cyan-deep);
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.step h3 { font-size: 18.5px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15.3px; }

/* ---------- Reviews ---------- */
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.review .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; font-size: 15px; }
.review blockquote { font-size: 15.5px; color: var(--text); font-style: italic; }
.review .who { margin-top: 14px; font-weight: 600; font-size: 14px; color: var(--ink); }
.review .who span { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid figure { position: relative; border-radius: 12px; overflow: hidden; cursor: zoom-in; aspect-ratio: 1 / 1.12; background: var(--ink-2); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-grid figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 12px 10px; font-size: 12.5px; color: #dcecff;
  background: linear-gradient(transparent, rgba(6,11,22,.88)); opacity: 0; transition: opacity .25s ease;
}
.gallery-grid figure:hover figcaption { opacity: 1; }
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(5,9,17,.94);
  display: none; align-items: center; justify-content: center; padding: 4vh 4vw; cursor: zoom-out;
}
.lightbox:target, .lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox .cap { position: absolute; bottom: 3vh; left: 50%; transform: translateX(-50%); color: #c9dcf5; font-size: 14px; }

/* ---------- FAQ ---------- */
details.faq { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; box-shadow: var(--shadow); }
details.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 16.5px; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 22px; color: var(--cyan-deep); transition: transform .2s; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .a { margin-top: 10px; color: var(--muted); font-size: 15.3px; }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.split .visual { position: relative; }
.split .visual img { border-radius: 16px; box-shadow: var(--shadow-lg); }
.split .visual .float-card {
  position: absolute; bottom: -22px; left: -14px; background: var(--white); border-radius: 12px;
  padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; border: 1px solid var(--line);
}
.split .visual .float-card b { font-family: var(--font-head); font-size: 22px; color: var(--cyan-deep); display: block; }
.split .visual .float-card span { font-size: 12.5px; color: var(--muted); }
.checklist { list-style: none; margin: 18px 0 26px; }
.checklist li { padding: 7px 0 7px 34px; position: relative; color: var(--text); font-size: 15.8px; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 8px; width: 22px; height: 22px; border-radius: 7px;
  background: linear-gradient(135deg, #7dd3fc, var(--cyan-deep)); color: #04121f; font-weight: 800;
  font-size: 13px; display: grid; place-items: center;
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(900px 300px at 15% 0%, rgba(56,189,248,.25), transparent 60%),
    radial-gradient(700px 300px at 90% 100%, rgba(29,78,216,.3), transparent 60%),
    var(--ink);
  color: var(--white); border-radius: 22px; padding: 56px 48px; text-align: center; box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: var(--white); font-size: clamp(24px, 3.6vw, 34px); margin-bottom: 12px; }
.cta-band p { color: #b9c9df; max-width: 560px; margin: 0 auto 26px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--ink); color: var(--white); padding: 68px 0 58px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(56,189,248,.28), transparent 65%); }
.page-hero .crumbs { font-size: 13.5px; color: #8fa5c2; margin-bottom: 14px; }
.page-hero .crumbs a { color: var(--cyan); }
.page-hero h1 { color: var(--white); font-size: clamp(28px, 4.4vw, 44px); max-width: 780px; }
.page-hero p.lead { color: #c4d3e8; max-width: 640px; margin-top: 16px; font-size: 17.5px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; }
.contact-card { display: flex; gap: 16px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; box-shadow: var(--shadow); }
.contact-card .ic { width: 46px; height: 46px; flex: none; border-radius: 12px; background: linear-gradient(135deg, rgba(56,189,248,.18), rgba(29,78,216,.12)); display: grid; place-items: center; font-size: 21px; }
.contact-card b { display: block; font-family: var(--font-head); color: var(--ink); }
.contact-card span { color: var(--muted); font-size: 14.6px; }
.map-box { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-box iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Table (costs) ---------- */
.table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--white); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 15px; }
table.cmp th { background: var(--ink); color: #cfeaff; text-align: left; padding: 14px 18px; font-family: var(--font-head); font-size: 14px; letter-spacing: .03em; }
table.cmp td { padding: 13px 18px; border-top: 1px solid var(--line); }
table.cmp tr:nth-child(even) td { background: #fafcff; }

/* ---------- Prose (blog/articles) ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 25px; margin: 42px 0 14px; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; }
.prose p { margin-bottom: 16px; color: var(--text); }
.prose ul, .prose ol { margin: 0 0 18px 22px; color: var(--text); }
.prose li { margin-bottom: 8px; }
.prose blockquote { border-left: 4px solid var(--cyan); background: var(--paper); padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 22px 0; font-style: italic; }
.prose .toc { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; margin: 26px 0; }
.prose .toc b { font-family: var(--font-head); display: block; margin-bottom: 8px; }
.prose .toc a { display: block; padding: 3px 0; font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9fb1ca; padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 36px; margin-bottom: 40px; }
.site-footer h4 { color: var(--white); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; font-size: 14.8px; }
.site-footer a { color: #9fb1ca; }
.site-footer a:hover { color: var(--cyan); }
.site-footer .brand { margin-bottom: 16px; }
.footer-note { font-size: 13.5px; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13.3px; color: #7488a5; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; box-shadow: 0 12px 30px rgba(37,211,102,.45);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-links {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-2); padding: 10px 6vw 22px; display: none; border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 16px; }
  .nav-toggle { display: block; }
  .nav-phone span.lbl { display: none; }
  .nav .btn { display: none; }
  .nav-links.open .mobile-cta { display: block; }
}
@media (max-width: 640px) {
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 52px 0; }
  .hero-inner { padding: 72px 0 64px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .cta-band { padding: 40px 22px; }
  .btn { width: 100%; }
  .hero-actions .btn { width: auto; }
}

/* ---------- Accesibilidad ---------- */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--cyan); color: #04121f; padding: 10px 16px; border-radius: 0 0 10px 0; z-index: 200; font-weight: 700; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
