:root {
  --bg: #f6f3ef;
  --ink: #1d1b1a;
  --muted: #5e5b57;
  --accent: #c7372f;
  --accent-dark: #a62b25;
  --accent-cool: #0a5b7d;
  --accent-gold: #d59b2d;
  --card: #ffffff;
  --soft: #efe6dd;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  --radius: 18px;
  --max-width: 1120px;
  --font-sans: "Space Grotesk", "Trebuchet MS", sans-serif;
  --font-display: "Sora", "Trebuchet MS", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(10, 91, 125, 0.12), transparent 50%),
    radial-gradient(circle at 20% 20%, rgba(213, 155, 45, 0.15), transparent 45%),
    linear-gradient(120deg, #fbf9f7 0%, #f4efe9 45%, #f7f2ec 100%);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid rgba(199, 55, 47, 0.6);
  outline-offset: 3px;
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  z-index: 100;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.top-bar {
  background: var(--ink);
  color: #fff;
  font-size: 0.88rem;
}

.top-bar__content {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  flex-wrap: wrap;
}

.top-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.top-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.top-icon svg {
  width: 16px;
  height: 16px;
}

.top-bar__divider {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.6);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-nav {
  padding: 16px 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-family: var(--font-display);
}

.logo-mark {
  display: grid;
  gap: 3px;
}

.logo-mark span {
  display: block;
  width: 36px;
  height: 6px;
  border-radius: 999px;
}

.logo-mark span:nth-child(1) {
  background: var(--accent);
}

.logo-mark span:nth-child(2) {
  background: var(--accent-gold);
}

.logo-mark span:nth-child(3) {
  background: var(--accent-cool);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 1.15rem;
}

.logo-tagline {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 500;
  flex-wrap: nowrap;
}

.nav-links a {
  padding: 6px 0;
  position: relative;
}

.nav-links .btn::after {
  display: none;
}

.quote-mobile {
  display: none !important;
}

.quote-desktop {
  display: inline-flex;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.nav-actions .btn {
  padding: 10px 18px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  padding: 0;
}

.nav-toggle-bar {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(199, 55, 47, 0.22), transparent 45%),
    radial-gradient(circle at 60% 10%, rgba(10, 91, 125, 0.25), transparent 50%),
    linear-gradient(115deg, #141414 0%, #2b1d23 45%, #122d3c 100%);
  color: #fef9f6;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
  filter: blur(0px);
  animation: float 10s ease-in-out infinite;
}

.hero::before {
  width: 320px;
  height: 320px;
  background: rgba(213, 155, 45, 0.55);
  top: -160px;
  right: 8%;
}

.hero::after {
  width: 220px;
  height: 220px;
  background: rgba(199, 55, 47, 0.4);
  bottom: -120px;
  left: 6%;
  animation-delay: -2s;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3vw, 3.4rem);
  margin: 16px 0;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.82);
}

.badge {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 24px 0 28px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 12px 25px rgba(199, 55, 47, 0.35);
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
  background: var(--accent-dark);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: none;
}

.btn-outline:hover,
.btn-outline:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.btn-accent:hover,
.btn-accent:focus {
  background: var(--accent-dark);
}

.hero-highlights {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.highlight-number {
  display: block;
  font-weight: 600;
}

.highlight-label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

.hero-card {
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-card h2 {
  font-family: var(--font-display);
  margin-top: 0;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
}

.hero-list li {
  padding-left: 18px;
  margin-bottom: 8px;
  position: relative;
}

.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
}

.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.hero-card-label {
  display: block;
  font-weight: 600;
}

.section {
  padding: 90px 0;
}

section {
  scroll-margin-top: 120px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 42px;
}

.section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.5vw, 2.6rem);
  margin: 12px 0;
}

.section-eyebrow {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 600;
}

.card-grid,
.feature-grid,
.process-grid {
  display: grid;
  gap: 22px;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-card,
.feature-card,
.process-step,
.contact-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.service-card,
.feature-card,
.process-step {
  position: relative;
  overflow: hidden;
}

.service-card::before,
.feature-card::before,
.process-step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-gold), var(--accent-cool));
}

.service-card h3,
.feature-card h3,
.process-step h3 {
  margin-top: 16px;
}

.service-card ul {
  padding-left: 18px;
  margin: 16px 0 0;
}

.service-card li {
  margin-bottom: 8px;
}

.icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--accent);
}

.icon svg {
  width: 32px;
  height: 32px;
}

.why-us {
  background: #fdfaf6;
}

.services {
  background: linear-gradient(180deg, rgba(199, 55, 47, 0.08), rgba(255, 255, 255, 0));
}

.process {
  background: linear-gradient(180deg, rgba(10, 91, 125, 0.08), rgba(255, 255, 255, 0));
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.process-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.step-number {
  display: inline-flex;
  background: rgba(10, 91, 125, 0.12);
  color: var(--accent-cool);
  font-weight: 600;
  border-radius: 999px;
  padding: 6px 12px;
  letter-spacing: 0.1em;
}

.brands {
  background: var(--soft);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
}

.brand-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  font-weight: 600;
  color: var(--accent-cool);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.visit-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
}

.visit {
  background: linear-gradient(180deg, rgba(213, 155, 45, 0.08), rgba(255, 255, 255, 0));
}

.visit-details {
  display: grid;
  gap: 24px;
}

.visit-header {
  max-width: 520px;
}

.visit-panel {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}

.contact-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: 0;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.contact-card h3 {
  margin-top: 0;
}

.contact-card {
  background: #fbf7f2;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.contact-card p {
  margin: 0;
}

.contact-card p + p {
  margin-top: 6px;
}

.contact-card a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.service-card,
.feature-card,
.process-step,
.contact-card,
.brand-card,
.hero-card,
.visit-panel,
.contact-form,
.address-card,
.visit-map {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover,
.feature-card:hover,
.process-step:hover,
.contact-card:hover,
.brand-card:hover,
.hero-card:hover,
.visit-panel:hover,
.contact-form:hover,
.address-card:hover,
.visit-map:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.14);
  border-color: rgba(199, 55, 47, 0.2);
}

.address-card {
  background: var(--ink);
  color: #fff;
  padding: 20px;
  border-radius: var(--radius);
  display: grid;
  gap: 6px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.visit-map iframe {
  width: 100%;
  min-height: 420px;
  height: 100%;
  border: 0;
  border-radius: calc(var(--radius) - 6px);
  box-shadow: none;
}

.visit-map {
  background: #fff;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow);
}

.contact {
  background: #fdf9f4;
}

.contact-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.cta-band {
  margin-top: 24px;
  padding: 20px;
  background: var(--soft);
  border-radius: var(--radius);
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.contact-form {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 500;
}

input,
textarea,
select,
button {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  font-family: inherit;
  font-size: 1rem;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(199, 55, 47, 0.3);
  border-color: var(--accent);
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.form-success {
  background: #e8f7ed;
  border: 1px solid rgba(19, 153, 88, 0.25);
  color: #0e6b3d;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
}

.site-footer {
  background: #151312;
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 30px;
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 10px;
}

.fab-toggle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 18px 35px rgba(199, 55, 47, 0.35);
  cursor: pointer;
}

.fab-toggle:hover,
.fab-toggle:focus {
  background: var(--accent-dark);
}

.fab-menu {
  display: grid;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  pointer-events: none;
  transform-origin: bottom right;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.fab.is-open .fab-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  visibility: visible;
}

.fab-action {
  background: #fff;
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fab-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.fab-action:hover,
.fab-action:focus {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.fab-whatsapp {
  background: #e8f7ed;
  border-color: rgba(19, 153, 88, 0.25);
  color: #0e6b3d;
}

.fab-map {
  background: #eef3fb;
  border-color: rgba(10, 91, 125, 0.25);
  color: #0a5b7d;
}

.fab-call {
  background: #fff0ee;
  border-color: rgba(199, 55, 47, 0.25);
  color: #a62b25;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(12px);
  }
}

@media (max-width: 900px) {
  .nav-content {
    gap: 16px;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.95rem;
  }

  .nav-actions .btn {
    padding: 8px 14px;
  }

  .logo-tagline {
    font-size: 0.68rem;
  }

  .hero {
    padding: 70px 0 80px;
  }

  .hero-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .top-bar__content {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .top-bar__item--email {
    display: none;
  }

  .top-bar {
    font-size: 0.82rem;
  }

  .top-bar__item {
    flex-wrap: nowrap;
  }

  .top-bar__divider {
    margin: 0 6px;
  }

  .top-icon {
    width: 22px;
    height: 22px;
  }

  .top-icon svg {
    width: 13px;
    height: 13px;
  }

  .site-nav {
    padding: 10px 0;
  }

  .nav-content {
    gap: 10px;
    position: relative;
    flex-wrap: wrap;
  }

  .logo-text {
    font-size: 1rem;
  }

  .logo-tagline {
    display: block;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .logo-mark span {
    width: 28px;
    height: 5px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 12px 0 6px;
  }

  .js .nav-links {
    display: none;
  }

  .js .nav-links.is-open {
    display: flex;
  }

  .nav-actions {
    margin-left: auto;
    order: 2;
  }

  .nav-actions .btn {
    display: none;
    padding: 8px 14px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .quote-desktop {
    display: none;
  }

  .quote-mobile {
    display: inline-flex !important;
    margin-top: 6px;
    padding: 10px 16px;
    min-width: 170px;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .fab {
    right: 16px;
    bottom: 16px;
  }

  .fab-toggle {
    width: 56px;
    height: 56px;
    font-size: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }

  .service-card:hover,
  .feature-card:hover,
  .process-step:hover,
  .contact-card:hover,
  .brand-card:hover,
  .hero-card:hover,
  .visit-panel:hover,
  .contact-form:hover,
  .address-card:hover,
  .visit-map:hover,
  .fab-action:hover {
    transform: none;
  }
}
