:root {
  --navy: #0b2a4a;
  --navy-deep: #071c33;
  --blue: #1e5a8a;
  --blue-mid: #2e7ab0;
  --accent: #d4891c;
  --accent-hover: #b87312;
  --sand: #e8eef5;
  --fog: #f5f7fa;
  --ink: #334155;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(11, 42, 74, 0.12);
  --font-display: "Outfit", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(46, 122, 176, 0.18), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(212, 137, 28, 0.12), transparent 50%),
    linear-gradient(180deg, #f7fafc 0%, #eef3f8 40%, #f5f7fa 100%);
  min-height: 100vh;
  padding-bottom: 72px;
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
}

h1, h2, h3, h4, h5, .display-font {
  font-family: var(--font-display);
  color: var(--navy);
  letter-spacing: -0.02em;
}

a { color: var(--blue-mid); text-decoration: none; }
a:hover { color: var(--accent); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: .5rem 1rem;
  z-index: 9999;
}
.skip-link:focus { left: 0; }

/* Urgency bar */
.urgency-bar {
  background: linear-gradient(90deg, var(--navy-deep), var(--blue));
  color: #fff;
  font-size: .9rem;
  padding: .45rem 0;
}
.urgency-bar a { color: #fff; opacity: .95; }
.urgency-bar a:hover { color: var(--accent); }

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 42, 74, 0.08);
  box-shadow: 0 4px 24px rgba(11, 42, 74, 0.04);
}
.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
}
.brand-logo-sm { width: 42px; height: 42px; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  color: var(--navy);
}
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.brand-text small {
  font-size: .72rem;
  color: var(--blue-mid);
  font-weight: 600;
}
.nav-link {
  color: var(--navy) !important;
  font-weight: 600;
  font-size: .95rem;
  padding: .55rem .85rem !important;
  border-radius: 999px;
}
.nav-link:hover,
.nav-link.active {
  color: var(--accent) !important;
  background: rgba(212, 137, 28, 0.08);
}
.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(11, 42, 74, 0.15);
  border-radius: 999px;
  overflow: hidden;
}
.lang-switch a {
  padding: .25rem .55rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--navy);
}
.lang-switch a.active {
  background: var(--navy);
  color: #fff;
}
.navbar-toggler {
  border: 0;
  box-shadow: none !important;
}

/* Buttons */
.btn-accent {
  background: linear-gradient(135deg, var(--accent), #e09a2e);
  border: 0;
  color: #fff !important;
  font-weight: 700;
  border-radius: 999px;
  padding: .65rem 1.35rem;
  box-shadow: 0 10px 24px rgba(212, 137, 28, 0.28);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-accent:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(212, 137, 28, 0.35);
  color: #fff !important;
}
.btn-outline-navy {
  border: 2px solid rgba(255,255,255,.75);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: .65rem 1.35rem;
  background: transparent;
}
.btn-outline-navy:hover {
  background: #fff;
  color: var(--navy);
}
.btn-outline-brand {
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 700;
  border-radius: 999px;
  background: transparent;
}
.btn-outline-brand:hover {
  background: var(--navy);
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 110px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(7, 28, 51, 0.88) 0%, rgba(11, 42, 74, 0.72) 45%, rgba(30, 90, 138, 0.55) 100%),
    url("../img/hero/hero-port.jpg") center/cover no-repeat,
    linear-gradient(135deg, #071c33, #1e5a8a);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(245, 247, 250, 0.95));
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding: 4.5rem 0 5.5rem; }
.hero-brand-mark {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
  margin-bottom: 1.25rem;
  animation: floatLogo 4s ease-in-out infinite;
}
@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--accent);
  margin-bottom: .75rem;
}
.experience-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(212, 137, 28, 0.18);
  border: 1px solid rgba(212, 137, 28, 0.55);
  color: #ffd59a;
  font-weight: 700;
  font-size: .9rem;
  padding: .45rem .95rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  backdrop-filter: blur(6px);
}
.experience-badge-light {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.experience-panel {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(212, 137, 28, 0.25);
  background-image: linear-gradient(160deg, #fff 0%, rgba(212, 137, 28, 0.08) 100%);
}
.experience-panel-num {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .5rem;
}
.content-intro {
  max-width: 52rem;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.7;
}
.seo-block {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
}
.seo-block h2 {
  font-size: 1.35rem;
  margin-bottom: .75rem;
}
.seo-block p {
  color: #4b5c6e;
  line-height: 1.75;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 800;
  max-width: 18ch;
  margin-bottom: 1rem;
}
.hero-sub {
  font-size: 1.15rem;
  max-width: 42rem;
  opacity: .92;
  margin-bottom: 1.75rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .85rem; }
.trust-strip {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
@media (min-width: 768px) {
  .trust-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.trust-item {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  padding: .85rem 1rem;
  backdrop-filter: blur(6px);
  font-weight: 600;
  font-size: .92rem;
}
.trust-item i { color: var(--accent); margin-right: .35rem; }

/* Sections */
.section { padding: 5rem 0; }
.section-muted { background: rgba(255,255,255,.55); }
.section-navy {
  background:
    linear-gradient(135deg, rgba(7,28,51,.96), rgba(30,90,138,.92)),
    url("../img/hero/hero-port.jpg") center/cover;
  color: #fff;
}
.section-navy h2,
.section-navy .lead { color: #fff; }
.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.section-head .eyebrow {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  margin-bottom: .5rem;
}

/* Service / store cards */
.card-service {
  background: #fff;
  border: 1px solid rgba(11, 42, 74, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.card-service:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 0 24px 60px rgba(11, 42, 74, 0.18);
}
.card-service-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--blue-mid));
}
.card-service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.card-service:hover .card-service-media img { transform: scale(1.06); }
.card-service-media .icon-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,.95);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}
.card-service-body { padding: 1.25rem 1.25rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card-service-body h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.card-service-body p { color: #5b6b7c; flex: 1; }
.card-service-actions { margin-top: 1rem; display: flex; gap: .5rem; flex-wrap: wrap; }

/* Process */
.process-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .process-grid { grid-template-columns: repeat(3, 1fr); }
}
.process-step {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.process-step::before {
  content: attr(data-step);
  position: absolute;
  right: .75rem;
  top: .25rem;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(11, 42, 74, 0.06);
  line-height: 1;
}
.process-step h3 { font-size: 1.2rem; }
.process-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #e09a2e);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 1rem;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 992px) {
  .stats-row { grid-template-columns: repeat(4, 1fr); }
}
.stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}
.stat-card .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat-card .label { color: rgba(255,255,255,.85); margin-top: .35rem; font-size: .95rem; }

/* Page hero small */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  background:
    linear-gradient(120deg, rgba(7,28,51,.92), rgba(30,90,138,.85)),
    url("../img/hero/hero-port.jpg") center/cover;
  color: #fff;
}
.page-hero h1 { color: #fff; }
.page-hero .lead { color: rgba(255,255,255,.9); max-width: 40rem; }

/* Accordion transit */
.transit-accordion .accordion-item {
  border: 0;
  background: #fff;
  border-radius: var(--radius) !important;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.transit-accordion .accordion-button {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  box-shadow: none !important;
}
.transit-accordion .accordion-button:not(.collapsed) {
  background: rgba(212, 137, 28, 0.08);
  color: var(--navy);
}
.sub-list { display: grid; gap: .45rem; }
.sub-list li {
  list-style: none;
  padding-left: 1.4rem;
  position: relative;
}
.sub-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: .45rem;
}

/* Quote wizard */
.quote-shell {
  background: #fff;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  border: 1px solid rgba(11,42,74,.06);
}
.progress-steps {
  display: flex;
  gap: .5rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.progress-steps .step-pill {
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: .65rem .5rem;
  border-radius: 999px;
  background: var(--fog);
  color: var(--ink);
  font-weight: 700;
  font-size: .85rem;
  border: 1px solid transparent;
}
.progress-steps .step-pill.active {
  background: rgba(212,137,28,.12);
  border-color: var(--accent);
  color: var(--navy);
}
.progress-steps .step-pill.done {
  background: var(--navy);
  color: #fff;
}
.quote-panel { display: none; }
.quote-panel.active { display: block; animation: fadeUp .35s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .75rem;
}
.check-tile {
  border: 1px solid rgba(11,42,74,.12);
  border-radius: 12px;
  padding: .85rem 1rem;
  cursor: pointer;
  transition: .2s ease;
  background: #fff;
}
.check-tile:hover,
.check-tile:has(input:checked) {
  border-color: var(--accent);
  background: rgba(212,137,28,.08);
}
.type-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: .85rem;
}
.type-card {
  border: 2px solid rgba(11,42,74,.1);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: .2s ease;
}
.type-card:hover,
.type-card:has(input:checked) {
  border-color: var(--accent);
  background: rgba(212,137,28,.08);
}
.type-card i { font-size: 1.6rem; color: var(--navy); display: block; margin-bottom: .5rem; }
.type-card input { display: none; }
.recap-box {
  background: var(--fog);
  border-radius: 12px;
  padding: 1.25rem;
  white-space: pre-wrap;
  font-family: var(--font-body);
}

/* Contact */
.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  height: 100%;
}
.contact-card i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(30,90,138,.1);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: .85rem;
}

.contact-tile {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.4rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11, 42, 74, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(11, 42, 74, 0.14);
}
.contact-tile-accent {
  background: linear-gradient(160deg, #fff 0%, rgba(212, 137, 28, 0.08) 100%);
  border-color: rgba(212, 137, 28, 0.25);
}
.contact-tile-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(30, 90, 138, 0.1);
  color: var(--blue);
  font-size: 1.2rem;
  margin-bottom: .9rem;
}
.contact-tile-accent .contact-tile-icon {
  background: rgba(212, 137, 28, 0.15);
  color: var(--accent);
}
.contact-tile h2 {
  margin-bottom: .65rem;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--navy);
}
.contact-tile p,
.contact-list a {
  color: var(--ink);
  font-size: .98rem;
  line-height: 1.45;
  word-break: break-word;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 .75rem;
  display: grid;
  gap: .7rem;
}
.contact-list .label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--blue-mid);
  margin-bottom: .1rem;
}
.contact-tile-link {
  margin-top: auto;
  font-weight: 700;
  font-size: .9rem;
  color: var(--accent);
}
.contact-tile-link:hover { color: var(--accent-hover); }

.contact-map-card,
.contact-form-card {
  background: #fff;
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(11, 42, 74, 0.06);
  overflow: hidden;
}
.contact-map-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid rgba(11, 42, 74, 0.08);
}
.contact-map-frame {
  position: relative;
  min-height: 340px;
  background: linear-gradient(135deg, var(--navy), var(--blue-mid));
}
.contact-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(1.05) contrast(1.02);
}
.contact-map-foot {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: 1rem 1.25rem 1.2rem;
  background: var(--fog);
}
.contact-map-foot i {
  color: var(--accent);
  font-size: 1.2rem;
  margin-top: .15rem;
}
.contact-map-foot strong {
  display: block;
  color: var(--navy);
  font-family: var(--font-display);
}
.contact-map-foot span {
  display: block;
  font-size: .92rem;
  color: var(--ink);
}
.contact-form-card {
  padding: 1.5rem 1.35rem 1.6rem;
}
@media (min-width: 992px) {
  .contact-map-frame { min-height: 420px; }
  .contact-form-card { padding: 1.75rem; }
}

/* Legal */
.prose-legal {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  line-height: 1.7;
}
.prose-legal h2 { font-size: 1.25rem; margin-top: 1.75rem; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.82);
  position: relative;
  margin-top: 3rem;
}
.footer-wave {
  height: 28px;
  background:
    radial-gradient(circle at 20% 0, transparent 40%, rgba(46,122,176,.25) 41%, transparent 42%),
    linear-gradient(90deg, transparent, rgba(212,137,28,.2), transparent);
}
.footer-brand { color: #fff; }
.footer-tagline { color: rgba(255,255,255,.75); }
.site-footer h6 {
  color: #fff;
  font-family: var(--font-display);
  margin-bottom: 1rem;
}
.footer-links li { margin-bottom: .45rem; }
.footer-links a { color: rgba(255,255,255,.8); }
.footer-links a:hover { color: var(--accent); }
.footer-hr { border-color: rgba(255,255,255,.12); }
.footer-bottom a { color: rgba(255,255,255,.75); }

/* Floating */
.whatsapp-float {
  position: fixed;
  right: 1.1rem;
  bottom: 5.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .4);
  z-index: 1040;
  animation: pulseWa 2.4s infinite;
}
@media (min-width: 768px) {
  .whatsapp-float { bottom: 1.5rem; }
}
@keyframes pulseWa {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  background: var(--navy-deep);
  z-index: 1030;
  border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-cta a {
  color: #fff;
  text-align: center;
  padding: .85rem .25rem;
  font-size: .78rem;
  font-weight: 700;
}
.mobile-cta a.accent { background: var(--accent); }

/* Forms */
.form-control, .form-select {
  border-radius: 12px;
  border-color: rgba(11,42,74,.15);
  padding: .75rem 1rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 .2rem rgba(212,137,28,.18);
}
.form-label { font-weight: 600; color: var(--navy); }

/* Placeholder media when image missing */
.media-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.85);
  font-size: 2.5rem;
  background:
    linear-gradient(135deg, rgba(7,28,51,.9), rgba(46,122,176,.85)),
    repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(255,255,255,.04) 12px, rgba(255,255,255,.04) 24px);
}

.alert-stam {
  border-radius: 12px;
  border: 0;
  background: rgba(37, 211, 102, .12);
  color: var(--navy);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.75rem;
}
.filter-chip {
  border: 1px solid rgba(11,42,74,.15);
  background: #fff;
  border-radius: 999px;
  padding: .4rem .9rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}
.filter-chip.active,
.filter-chip:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.value-tile {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  height: 100%;
}
.value-tile i {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: .75rem;
  display: inline-block;
}
