/* Coradd Pinturas - shared styles */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("/assets/fonts/oswald-latin.woff2") format("woff2");
}

:root {
  --navy: #12233d;
  --navy-dark: #0d1b30;
  --red: #e0483c;
  --red-btn: #c93a2f;
  --red-btn-hover: #b13228;
  --red-link: #c33a2f;
  --ink: #1a2942;
  --muted: #4b5563;
  --eyebrow: #5b6577;
  --pale: #f2f4f7;
  --pale-blue: #dde5ec;
  --line: #d8dee7;
  --wa: #1f9d55;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-link); }
a:hover { color: var(--red-btn-hover); }
h1, h2, h3 { font-family: var(--display); line-height: 1.2; margin: 0 0 16px; font-weight: 600; }
p { margin: 0 0 16px; }
ul { margin: 0 0 16px; padding-left: 20px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: #fff; color: var(--navy); padding: 8px 14px; border-radius: 2px;
}
.skip-link:focus { left: 8px; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  padding: 13px 30px; font-size: 14px; font-weight: 600; letter-spacing: 0.6px;
  border-radius: 2px; border: 2px solid transparent; cursor: pointer;
  background: var(--red-btn); color: #fff;
}
.btn:hover { background: var(--red-btn-hover); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--pale); color: var(--navy); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.75); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.btn-wa { background: var(--wa); }
.btn-wa:hover { background: #17824a; }
.btn-sm { padding: 9px 20px; font-size: 13px; }

/* ---------- Header ---------- */
.site-header { background: var(--navy); border-bottom: 4px solid var(--red); position: relative; z-index: 20; }
.header-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: block; line-height: 0; }
.main-nav { display: flex; gap: 28px; flex: 1; }
.main-nav a { color: #e5e9ef; text-decoration: none; font-size: 14px; letter-spacing: 0.5px; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: #fff; border-bottom-color: var(--red); }
.main-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--red); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 600px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; background: var(--navy); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(13, 27, 48, 0.55), rgba(13, 27, 48, 0.62)); }
.hero-inner { position: relative; z-index: 1; max-width: 900px; padding: 64px 24px; }
.hero h1 { font-size: 52px; font-weight: 700; color: #fff; margin-bottom: 18px; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4); }
.hero .tagline { font-size: 13px; letter-spacing: 5px; text-transform: uppercase; color: #f0f0f0; margin-bottom: 22px; }
.hero .lead { font-size: 18px; color: #f4f6f9; max-width: 700px; margin: 0 auto 30px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-pale { background: var(--pale); }
.section-navy { background: var(--navy); color: #dfe4ec; }
.section-navy h2, .section-navy h3 { color: #fff; }
.eyebrow { font-size: 13px; letter-spacing: 5px; text-transform: uppercase; color: var(--eyebrow); font-family: var(--body); font-weight: 500; margin-bottom: 10px; }
.section-navy .eyebrow { color: #a9b1bf; }
.section h2 { font-size: 34px; }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); margin-bottom: 0; }
.section-navy .section-head p { color: #c3cad8; }

.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Photo tiles */
.tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; text-decoration: none; color: #fff; background: var(--navy); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile::after { content: ""; position: absolute; inset: 0; background: rgba(15, 30, 50, 0.55); transition: background 0.2s; }
.tile-red::after { background: rgba(224, 72, 60, 0.55); }
.tile:hover::after { background: rgba(15, 30, 50, 0.35); }
.tile-red:hover::after { background: rgba(224, 72, 60, 0.35); }
.tile span { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 20px; }
.tile strong { font-family: var(--display); font-size: 32px; font-weight: 600; }
.tile small { font-size: 13px; letter-spacing: 1px; }

/* Service cards */
.card { background: var(--navy); color: #c3cad8; padding: 48px 28px 32px; position: relative; text-align: center; }
.card-alt { background: #b8443a; color: #fff; }
.card h3 { font-size: 22px; color: #fff; margin: 12px 0 14px; }
.card p { font-size: 15px; }
.card .num { position: absolute; top: -28px; left: 50%; transform: translateX(-50%); width: 56px; height: 56px; border-radius: 50%; background: var(--pale); color: var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 22px; }
.card .btn { margin-top: 8px; }

/* Product category cards */
.cat { border: 1px solid var(--line); padding: 30px 28px; background: #fff; display: flex; flex-direction: column; }
.cat h3 { font-size: 24px; color: var(--navy); }
.cat p { color: var(--muted); font-size: 15px; }
.cat a.more { margin-top: auto; font-weight: 600; font-size: 14px; }

/* Split block (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 420px; }
.split-img { position: relative; min-height: 320px; background: var(--navy); }
.split-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-text { background: var(--navy); color: #dfe4ec; padding: 56px 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.split-text h2 { color: #fff; font-size: 28px; letter-spacing: 1px; text-transform: uppercase; }
.split-text p { max-width: 440px; }

/* Lists */
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 12px; height: 7px; border-left: 3px solid var(--red-btn); border-bottom: 3px solid var(--red-btn); transform: rotate(-45deg); }
.brand-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.brand-list li { border: 1px solid var(--line); background: #fff; padding: 6px 16px; font-size: 14px; font-weight: 500; color: var(--navy); border-radius: 2px; }

/* Testimonials */
.quotes { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.quotes figure { margin: 0; background: var(--navy); color: #fff; padding: 32px 28px; }
.quotes blockquote { margin: 0 0 18px; font-style: italic; font-size: 16px; line-height: 1.75; }
.quotes figcaption { color: #ff9a90; font-weight: 600; font-size: 15px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; padding-right: 28px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 24px; color: var(--red-btn); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Tables */
.table-wrap { overflow-x: auto; margin-bottom: 24px; }
table.products { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
table.products th, table.products td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.products th { background: var(--navy); color: #fff; font-weight: 600; font-size: 13px; letter-spacing: 0.5px; }
table.products td:first-child { font-weight: 600; color: var(--navy); white-space: nowrap; }

/* Contact block */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.contact-grid h3 { font-size: 20px; margin-bottom: 8px; }
.contact-grid p { color: var(--muted); font-size: 15px; margin-bottom: 0; }
.contact-icon { font-size: 30px; line-height: 1; margin-bottom: 12px; color: var(--red-link); }
.map { border: 0; display: block; width: 100%; height: 420px; }

/* Page header (inner pages) */
.page-head { background: var(--navy); color: #fff; padding: 48px 0 52px; }
.page-head h1 { font-size: 42px; font-weight: 700; margin-bottom: 14px; }
.page-head p { color: #c3cad8; max-width: 720px; margin-bottom: 0; font-size: 18px; }
.breadcrumb { font-size: 13px; color: #a9b1bf; margin-bottom: 18px; }
.breadcrumb a { color: #c3cad8; }
.breadcrumb a:hover { color: #fff; }
.prose h2 { font-size: 28px; margin-top: 40px; color: var(--navy); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 21px; margin-top: 28px; color: var(--navy); }
.cta-band { background: var(--pale-blue); padding: 56px 0; text-align: center; }
.cta-band h2 { font-size: 28px; }
.cta-band p { color: var(--muted); max-width: 620px; margin: 0 auto 24px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.related { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.related a { display: block; padding: 16px 18px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--navy); background: #fff; }
.related a:hover { border-color: var(--red); color: var(--red-link); }

/* Footer */
.site-footer { background: var(--navy-dark); color: #c3cad8; padding: 52px 0 24px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.3fr; gap: 32px; margin-bottom: 32px; }
.site-footer h2 { font-family: var(--body); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: #fff; margin-bottom: 14px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #c3cad8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.8; }
.copyright { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 22px; font-size: 12px; color: #9aa3b5; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3); }
.wa-float:hover { background: #17824a; }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Tablet ---------- */
@media (max-width: 900px) {
  .hero { min-height: 520px; }
  .hero h1 { font-size: 40px; }
  .section { padding: 56px 0; }
  .section h2 { font-size: 30px; }
  .grid-3, .quotes { grid-template-columns: 1fr; }
  .grid-3.tiles { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .grid-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-img { min-height: 260px; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-3.services { gap: 48px; margin-top: 12px; }
  .page-head h1 { font-size: 34px; }
}

/* ---------- Phone ---------- */
@media (max-width: 700px) {
  /* product tables become stacked cards instead of scrolling sideways */
  .table-wrap { overflow: visible; }
  table.products { min-width: 0; }
  table.products thead { position: absolute; left: -9999px; }
  table.products, table.products tbody, table.products tr, table.products td { display: block; width: 100%; }
  table.products tr { border: 1px solid var(--line); padding: 14px 16px; margin-bottom: 12px; background: #fff; }
  table.products td { border: 0; padding: 0; }
  table.products td:first-child { font-size: 17px; white-space: normal; }
  table.products td:nth-child(2) { font-size: 13px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--eyebrow); margin-bottom: 6px; }
  table.products td:nth-child(3) { font-size: 15px; color: var(--muted); }
}
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .header-row { gap: 10px 12px; }
  .main-nav { order: 3; flex-basis: 100%; justify-content: space-between; gap: 8px; }
  .main-nav a { font-size: 13px; }
  .brand { margin-right: auto; }
  .hero { min-height: 480px; }
  .hero h1 { font-size: 32px; }
  .hero .lead { font-size: 16px; }
  .hero-inner { padding: 48px 18px; }
  .section { padding: 44px 0; }
  .section h2 { font-size: 26px; }
  .grid-3.tiles { grid-template-columns: 1fr; gap: 14px; }
  .tile { aspect-ratio: 16 / 9; }
  .tile strong { font-size: 26px; }
  .split-text { padding: 40px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-head { padding: 32px 0 36px; }
  .page-head h1 { font-size: 28px; }
  .page-head p { font-size: 16px; }
  .prose h2 { font-size: 24px; }
  .map { height: 320px; }
  .btn { padding: 12px 22px; }
}
