/* ============================================================
   Chacharito Solutions — flat brand design system
   No gradients. No shadows. Colour, type and structure only.
   ============================================================ */

:root {
  --primary: #0F3665;
  --secondary: #E9BB44;
  --dark: #132648;
  --deep: #0C274B;
  --blue: #2F5A86;
  --white: #FFFFFF;
  --surface: #F3F6FA;
  --line: #DCE3EC;
  --line-dark: #23406E;
  --muted: #4C5E77;
  --muted-light: #A8B8CC;
  --font: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --header-h: 74px;
  --ease: cubic-bezier(.22, .68, .32, 1);
}

/* ---------- 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);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

/* ---------- Utilities ---------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.section { padding: 92px 0; }
.section-tint { background: var(--surface); }
.section-dark { background: var(--deep); color: var(--white); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--secondary); color: var(--dark);
  padding: 10px 18px; font-weight: 700;
}
.skip-link:focus { left: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .22em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--secondary); }
.eyebrow-light { color: var(--secondary); }
.eyebrow-light::before { background: var(--secondary); }

h1, h2, h3 { line-height: 1.08; font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.15rem; }
.gold { color: var(--secondary); }

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-sub { color: var(--muted); margin-top: 14px; font-size: 1.03rem; }
.section-sub-light { color: var(--muted-light); }
.section-more { margin-top: 44px; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; font-weight: 700; font-size: 14px;
  letter-spacing: .06em; text-transform: uppercase;
  border: 2px solid transparent; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-sm { padding: 10px 20px; font-size: 12.5px; }
.btn-lg { padding: 17px 34px; }
.btn-gold { background: var(--secondary); color: var(--dark); border-color: var(--secondary); }
.btn-gold:hover { background: var(--dark); color: var(--secondary); border-color: var(--dark); }
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--secondary); color: var(--dark); border-color: var(--secondary); }
.btn-dark { background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn-dark:hover { background: transparent; color: var(--dark); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn-outline-dark:hover { background: var(--dark); color: var(--secondary); }
.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 3px solid var(--secondary); outline-offset: 3px;
}

/* ---------- Topbar ---------- */
.topbar { background: var(--dark); color: var(--muted-light); font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar-item svg { width: 14px; height: 14px; color: var(--secondary); }
.topbar-phones { display: flex; gap: 14px; align-items: center; }
.topbar-phones a { color: var(--white); font-weight: 600; }
.topbar-phones a:hover { color: var(--secondary); }
.topbar-sep { width: 1px; height: 14px; background: var(--line-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; }
.site-header .brand { height: 100%; }
.site-header .brand-logo { height: 100%; width: auto; max-height: 60px; }
.brand-logo { display: block; object-fit: contain; }
.brand-logo-footer { height: 58px; width: auto; background: var(--white); padding: 6px 12px; border: 3px solid var(--secondary); }

.main-nav { margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  display: block; padding: 10px 14px; font-weight: 600; font-size: 14.5px;
  color: var(--dark); border-bottom: 3px solid transparent;
}
.nav-links a:hover { color: var(--primary); border-bottom-color: var(--secondary); }
.nav-links a.active { color: var(--primary); border-bottom-color: var(--secondary); }
.nav-links-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.main-nav + .header-actions { margin-left: 0; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--dark); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Uniform navy surface when the mobile menu is open */
.site-header.menu-open { background: var(--deep); border-bottom-color: var(--line-dark); }
.site-header.menu-open .nav-toggle span { background: var(--secondary); }
.site-header.menu-open .brand-logo { background: var(--white); padding: 3px 8px; border: 3px solid var(--secondary); }

/* ---------- Flash ---------- */
.flash {
  display: flex; align-items: center; gap: 12px;
  margin-top: 24px; padding: 16px 20px;
  background: var(--primary); color: var(--white);
  border-left: 5px solid var(--secondary); font-weight: 600;
}
.flash svg { width: 22px; height: 22px; color: var(--secondary); flex: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cpath d='M72 0H0v72' fill='none' stroke='%232F5A86' stroke-opacity='.4'/%3E%3C/svg%3E");
  color: var(--white);
  padding: 110px 0 0;
}
.hero-ghost {
  position: absolute; top: 18px; right: -14px;
  font-size: clamp(6rem, 18vw, 15rem); font-weight: 900; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(233,187,68,.18);
  pointer-events: none; user-select: none; letter-spacing: -.02em;
}
.hero-inner { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; }
.hero-title { font-size: clamp(2.5rem, 6.5vw, 4.7rem); font-weight: 900; margin: 6px 0 22px; }
.hero-lead { max-width: 560px; font-size: 1.09rem; color: var(--muted-light); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-media { border: 4px solid var(--secondary); line-height: 0; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-media figcaption {
  line-height: 1.5; background: var(--dark); color: var(--white);
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 11px 16px; border-top: 4px solid var(--secondary); margin-top: -4px;
}
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 74px; border-top: 1px solid var(--line-dark);
}
.hero-stat { padding: 26px 26px 30px 0; border-right: 1px solid var(--line-dark); }
.hero-stat:last-child { border-right: 0; }
.hero-stat strong { display: block; font-size: 2rem; font-weight: 900; color: var(--secondary); }
.hero-stat span { font-size: .88rem; color: var(--muted-light); }

/* ---------- Ticker ---------- */
.ticker { background: var(--secondary); overflow: hidden; padding: 13px 0; border-bottom: 3px solid var(--dark); }
.ticker-track { display: flex; align-items: center; gap: 30px; width: max-content; animation: ticker 28s linear infinite; }
.ticker-track span {
  font-weight: 800; font-size: 13.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--dark); white-space: nowrap;
}
.ticker-track i { color: var(--dark); font-style: normal; font-size: 9px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Cards / grids ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid-wide { gap: 28px; }
.card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-top: 4px solid var(--primary);
  padding: 30px 28px; transition: border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.card-icon {
  width: 52px; height: 52px; display: grid; place-items: center;
  border: 2px solid var(--primary); color: var(--primary); margin-bottom: 22px;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.card-icon svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: .94rem; flex: 1; }
.service-card:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.service-card:hover p { color: var(--muted-light); }
.service-card:hover .card-icon { background: var(--secondary); border-color: var(--secondary); color: var(--dark); }
.card-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary);
}
.card-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.service-card:hover .card-link { color: var(--secondary); }
.service-card:hover .card-link svg { transform: translateX(5px); }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.split-text h2 { margin-bottom: 18px; }
.split-text > p { color: var(--muted); margin-bottom: 16px; }
.check-list { margin: 24px 0 30px; }
.check-list li { position: relative; padding: 9px 0 9px 36px; font-weight: 600; border-bottom: 1px solid var(--line); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 18px; height: 10px;
  border-left: 3.5px solid var(--secondary); border-bottom: 3.5px solid var(--secondary);
  transform: rotate(-45deg);
}
.photo-frame { border: 4px solid var(--secondary); line-height: 0; }
.photo-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-frame figcaption {
  line-height: 1.5; background: var(--dark); color: var(--white);
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 11px 16px; border-top: 4px solid var(--secondary); margin-top: -4px;
}

.craft-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 30px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.value { padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value strong { display: block; color: var(--primary); font-size: 1.02rem; }
.value span { font-size: .87rem; color: var(--muted); }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.process-step { padding: 34px 28px 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.section-tint .process-step { background: var(--surface); }
.process-num { display: block; font-size: 2.6rem; font-weight: 900; color: var(--secondary); line-height: 1; margin-bottom: 16px; -webkit-text-stroke: 1px var(--primary); }
.process-step h3 { margin-bottom: 10px; }
.process-step p { font-size: .93rem; color: var(--muted); }

/* ---------- Projects ---------- */
.project-card { padding: 0; border-top: 1px solid var(--line); }
.project-art { line-height: 0; border-bottom: 4px solid var(--secondary); overflow: hidden; }
.project-art img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s var(--ease); }
.project-card:hover .project-art img { transform: scale(1.05); }
.project-meta { padding: 24px 26px 28px; }
.project-cat {
  display: inline-block; font-size: 11px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--primary); border: 1.5px solid var(--primary);
  padding: 4px 10px; margin-bottom: 14px;
}
.project-meta h3 { margin-bottom: 6px; }
.project-meta p { font-size: .9rem; color: var(--muted); }
.section-dark .project-card { background: var(--dark); border-color: var(--line-dark); color: var(--white); }
.section-dark .project-meta p { color: var(--muted-light); }
.section-dark .project-cat { color: var(--secondary); border-color: var(--secondary); }
.projects-note {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 48px; padding: 30px 34px; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--secondary);
}
.projects-note p { max-width: 640px; color: var(--muted); }

/* ---------- Testimonials ---------- */
.quote-marquee { overflow: hidden; }
.quote-track {
  display: flex; width: max-content;
  animation: quote-scroll 65s linear infinite;
}
.quote-marquee:hover .quote-track { animation-play-state: paused; }
.quote-track .quote-card { width: 360px; flex: none; margin-right: 22px; }
@keyframes quote-scroll { to { transform: translateX(-50%); } }

.quote-card { position: relative; }
.quote-mark { font-size: 4.4rem; font-weight: 900; line-height: .6; color: var(--secondary); margin: 14px 0 18px; }
.quote-card p { color: var(--muted); flex: 1; }
.quote-card footer { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.quote-card footer strong { display: block; }
.quote-card footer span { font-size: .86rem; color: var(--muted); }
.quote-card-dark { background: var(--dark); border-color: var(--line-dark); color: var(--white); }
.quote-card-dark p, .quote-card-dark footer span { color: var(--muted-light); }
.quote-card-dark footer { border-top-color: var(--line-dark); }

/* ---------- Commit (about) ---------- */
.commit-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.commit { padding: 34px 28px 38px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.commit span { display: block; font-size: 2.2rem; font-weight: 900; color: transparent; -webkit-text-stroke: 1.5px var(--secondary); line-height: 1; margin-bottom: 16px; }
.commit h3 { color: var(--white); margin-bottom: 10px; }
.commit p { font-size: .93rem; color: var(--muted-light); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--secondary); padding: 72px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; }
.cta-band h2 { color: var(--dark); }
.cta-band p { color: var(--dark); opacity: .85; margin-top: 8px; font-weight: 500; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background: var(--primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cpath d='M72 0H0v72' fill='none' stroke='%232F5A86' stroke-opacity='.4'/%3E%3C/svg%3E");
  color: var(--white); padding: 74px 0 66px;
  border-bottom: 5px solid var(--secondary);
}
.breadcrumb { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 18px; }
.breadcrumb a { color: var(--secondary); }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; }
.page-hero-sub { margin-top: 14px; color: var(--muted-light); max-width: 560px; font-size: 1.05rem; }

/* ---------- Services page rows ---------- */
.service-list { display: flex; flex-direction: column; }
.service-row {
  display: grid; grid-template-columns: 80px 92px 1fr 240px; gap: 34px; align-items: center;
  padding: 44px 0; border-bottom: 1px solid var(--line);
}
.service-row:first-child { padding-top: 8px; }
.service-row:last-child { border-bottom: 0; }
.service-row-num { font-size: 2.6rem; font-weight: 900; color: transparent; -webkit-text-stroke: 1.5px var(--primary); line-height: 1; padding-top: 6px; }
.service-row-icon {
  width: 76px; height: 76px; display: grid; place-items: center;
  background: var(--primary); color: var(--secondary);
}
.service-row-icon svg { width: 38px; height: 38px; }
.service-row-body h2 { font-size: 1.55rem; margin-bottom: 10px; }
.service-row-body p { color: var(--muted); max-width: 720px; }
.service-row-media { line-height: 0; border: 3px solid var(--primary); }
.service-row-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--primary);
}
.text-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.text-link:hover { color: var(--secondary); }
.text-link:hover svg { transform: translateX(5px); }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.form-layout-solo { max-width: 720px; margin-top: 56px; display: block; }
.form-panel { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--secondary); padding: 44px 40px; }
.form-panel h2 { margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 30px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label, .field-label { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.field label b { color: var(--secondary); }
.field .opt { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--dark);
  padding: 13px 15px; border: 1.5px solid var(--line);
  background: var(--white); border-radius: 0; width: 100%;
  transition: border-color .2s var(--ease), border-left-color .2s var(--ease);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); border-left: 5px solid var(--secondary); padding-left: 11.5px;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230F3665' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.radio-row { display: flex; gap: 12px; flex-wrap: wrap; }
.radio { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-weight: 600; font-size: .95rem; padding: 11px 18px; border: 1.5px solid var(--line); }
.radio input { accent-color: var(--primary); width: 16px; height: 16px; }
.radio:has(input:checked) { border-color: var(--primary); background: var(--surface); }
.form-note { margin-top: 18px; font-size: .9rem; color: var(--muted); }
.form-note a { color: var(--primary); font-weight: 700; text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-aside { display: flex; flex-direction: column; gap: 22px; position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card { border: 1px solid var(--line); border-left: 5px solid var(--secondary); padding: 30px 28px; background: var(--surface); }
.aside-card h3 { margin-bottom: 16px; color: var(--primary); }
.aside-steps li { position: relative; padding: 8px 0 8px 26px; color: var(--muted); font-size: .94rem; border-bottom: 1px solid var(--line); }
.aside-steps li:last-child { border-bottom: 0; }
.aside-steps li::before { content: "▸"; position: absolute; left: 4px; color: var(--secondary); font-weight: 900; }
.aside-dark { background: var(--deep); border-color: var(--deep); border-left-color: var(--secondary); color: var(--white); }
.aside-dark h3 { color: var(--white); }
.aside-line { display: block; padding: 8px 0; font-weight: 700; font-size: 1.05rem; color: var(--secondary); border-bottom: 1px solid var(--line-dark); }
.aside-line:hover { color: var(--white); }
.aside-dark p { margin-top: 14px; font-size: .88rem; color: var(--muted-light); }

/* ---------- Contact cards ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card:hover { border-top-color: var(--secondary); }
.contact-card:hover .card-icon { background: var(--primary); color: var(--secondary); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 110px 0; }
.notfound-num { display: block; font-size: clamp(5rem, 16vw, 10rem); font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--secondary); margin-bottom: 20px; }
.notfound h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 12px; }
.notfound p { color: var(--muted); margin-bottom: 30px; }
.notfound .hero-ctas { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--muted-light); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding: 72px 22px 56px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.footer-brand p { font-size: .93rem; max-width: 300px; }
.footer-col h3 {
  color: var(--white); font-size: 13px; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 2px solid var(--secondary); display: inline-block;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; font-size: .94rem; }
.footer-col a:hover { color: var(--secondary); }
.footer-bar { border-top: 1px solid var(--line-dark); }
.footer-bar-inner { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; font-size: .84rem; }

/* ---------- Floating actions ---------- */
.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.float-btn {
  width: 54px; height: 54px; display: grid; place-items: center;
  border-radius: 50%; border: 2px solid var(--white);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.float-btn svg { width: 27px; height: 27px; }
.float-whatsapp { background: #25D366; color: var(--white); }
.float-call { background: var(--primary); color: var(--white); }
.float-btn:hover { transform: scale(1.08); }
.float-whatsapp:hover { background: #128C7E; color: var(--white); }
.float-call:hover { background: var(--secondary); color: var(--dark); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track, .quote-track { animation: none; }
  .quote-marquee { overflow-x: auto; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1020px) {
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split-panel { max-width: 560px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-media { max-width: 640px; }
  .service-row { grid-template-columns: 76px 1fr; }
  .service-row-num { display: none; }
  .service-row-media { grid-column: 1 / -1; }
  .process-grid, .commit-grid { grid-template-columns: 1fr 1fr; }
  .form-layout { grid-template-columns: 1fr; }
  .form-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--deep); padding: 18px 0 26px;
    border-bottom: 4px solid var(--secondary);
    transform: translateY(-130%); transition: transform .35s var(--ease);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { color: var(--white); padding: 15px 26px; border-bottom: 0; border-left: 4px solid transparent; font-size: 1.05rem; }
  .nav-links a:hover, .nav-links a.active { color: var(--secondary); border-left-color: var(--secondary); border-bottom-color: transparent; }
  .nav-links-cta { display: block; padding: 18px 26px 0; }
  .nav-links-cta .btn { width: 100%; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat:nth-child(2) { border-right: 0; }
  .hero-stat { border-bottom: 1px solid var(--line-dark); }
  .hero-stat:nth-child(3), .hero-stat:nth-child(4) { border-bottom: 0; }
  .service-row { grid-template-columns: 60px 1fr; gap: 22px; }
  .service-row-num { display: none; }
  .service-row-icon { width: 60px; height: 60px; }
  .service-row-icon svg { width: 30px; height: 30px; }
  .service-row-media { grid-column: 1 / -1; }
  .service-row-media img { aspect-ratio: 16 / 9; }
}

@media (max-width: 560px) {
  .container { padding: 0 8px; }
  .section { padding: 62px 0; }
  .topbar-loc { display: none; }
  .topbar-inner { justify-content: center; }
  .card-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .services-grid .service-card { padding: 12px 10px; border-top-width: 3px; }
  .services-grid .card-icon { width: 38px; height: 38px; margin-bottom: 14px; border-width: 1.5px; }
  .services-grid .card-icon svg { width: 20px; height: 20px; }
  .services-grid .service-card h3 { font-size: .98rem; margin-bottom: 6px; }
  .services-grid .service-card p { font-size: .8rem; }
  .services-grid .card-link { margin-top: 14px; font-size: 11px; }
  .projects-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .projects-grid .project-meta { padding: 12px 10px 14px; }
  .projects-grid .project-art { border-bottom-width: 3px; }
  .projects-grid .project-cat { font-size: 9px; padding: 3px 7px; margin-bottom: 9px; letter-spacing: .1em; }
  .projects-grid .project-meta h3 { font-size: .92rem; margin-bottom: 4px; }
  .projects-grid .project-meta p { font-size: .74rem; }
  .craft-strip { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-panel { padding: 32px 22px; }
  .process-grid, .commit-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-wrap: nowrap; gap: 8px; width: 100%; }
  .cta-actions .btn { flex: 1 1 0; min-width: 0; padding: 13px 6px; font-size: 11px; letter-spacing: .02em; white-space: nowrap; }
  .hero { padding-top: 78px; }
  .hero-ctas { flex-wrap: nowrap; gap: 8px; }
  .hero-ctas .btn { flex: 1 1 0; min-width: 0; padding: 13px 6px; font-size: 11px; letter-spacing: .02em; text-align: center; white-space: nowrap; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding: 56px 22px 44px; }
  .float-btn { width: 50px; height: 50px; }
  .quote-track .quote-card { width: 280px; margin-right: 14px; padding: 18px 16px; }
  .quote-track .quote-card p { font-size: .86rem; }
  .quote-track .quote-mark { font-size: 3.4rem; margin: 8px 0 12px; }
  .brand-logo { max-height: 44px; }
  .brand-logo-footer { max-height: 54px; }
  .service-row { grid-template-columns: 1fr; }
}
