/* Gonzalo Taxi — brand from business cards */
:root {
  --bg: #000000;
  --bg-elevated: #0c0c0c;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.72);
  --accent: #e4ef9a;
  --accent-soft: #c8d66a;
  --check: #9aaa5a;
  --line: rgba(255, 255, 255, 0.12);
  --font: "Outfit", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

em {
  font-style: normal;
  color: var(--text-muted);
  font-weight: 500;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  border-radius: 0.4rem;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
  transition: background 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--accent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  display: inline-flex;
  color: var(--accent);
  width: 2.4rem;
}

.brand-mark.small {
  width: 1.8rem;
}

.brand-mark svg {
  width: 100%;
  height: auto;
}

.brand-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.header-phone {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--accent);
  transition: opacity 0.2s ease;
}

.header-phone:hover {
  opacity: 0.8;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.lang-btn {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.35rem;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 0.2rem;
  background: transparent;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease);
}

.lang-btn svg {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0.12rem;
  overflow: hidden;
}

.lang-btn:hover {
  opacity: 0.9;
}

.lang-btn.is-active {
  opacity: 1;
  border-color: var(--accent);
  transform: translateY(-1px);
}

.lang-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  opacity: 1;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.06);
  animation: hero-zoom 18s var(--ease) both;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.62) 38%, rgba(0, 0, 0, 0.22) 68%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.12) 42%, rgba(0, 0, 0, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(38rem, 100%);
  padding:
    calc(var(--header-h) + 2rem)
    clamp(1.25rem, 4vw, 2.5rem)
    clamp(3.5rem, 8vh, 5.5rem);
}

.hero-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-title {
  margin: 0;
  line-height: 0.9;
}

.hero-brand {
  display: block;
  font-size: clamp(4.5rem, 16vw, 8.5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.hero-subtitle {
  display: block;
  margin-top: 0.2rem;
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

.hero-lead {
  margin: 1.25rem 0 0;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--text-muted);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.4rem;
  border: 1.5px solid transparent;
  border-radius: 0.35rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent);
  color: #111;
}

.btn-primary:hover {
  background: #f1f7b4;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-large {
  min-height: 3.35rem;
  padding-inline: 1.6rem;
  width: 100%;
  max-width: 22rem;
}

/* About */
.about {
  padding: clamp(4rem, 10vh, 6.5rem) 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
}

.about-inner {
  display: grid;
  gap: clamp(1.25rem, 3vh, 2rem);
  max-width: 40rem;
}

.about-copy {
  display: grid;
  gap: 1rem;
}

.about-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.65;
}

/* Services */
.services {
  position: relative;
  padding: clamp(4rem, 10vh, 6.5rem) 0;
  background: var(--bg);
  overflow: hidden;
}

.section-inner {
  width: min(68rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.section-intro {
  max-width: 32rem;
  margin-bottom: clamp(2rem, 5vh, 3rem);
}

.section-title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-lead {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.service-item div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.service-item strong {
  font-weight: 700;
}

.service-item span {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
}

.check {
  flex: 0 0 auto;
  width: 1.55rem;
  height: 1.55rem;
  margin-top: 0.15rem;
  color: var(--check);
}

.check svg {
  width: 100%;
  height: 100%;
}

.dot-field {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(18rem, 55vw);
  height: 8rem;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.22) 1.1px, transparent 1.2px);
  background-size: 10px 10px;
  mask-image: linear-gradient(to top right, #000 10%, transparent 75%);
  pointer-events: none;
  opacity: 0.7;
}

/* Rates */
.rates {
  padding: clamp(4rem, 10vh, 6.5rem) 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
}

.rate-block {
  margin-top: clamp(2rem, 4vh, 2.75rem);
}

.rate-block + .rate-block {
  margin-top: clamp(2.5rem, 5vh, 3.5rem);
}

.rate-heading {
  margin: 0 0 1rem;
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.rate-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.rate-table {
  width: 100%;
  min-width: 28rem;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.rate-table th,
.rate-table td {
  padding: 0.95rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.rate-table thead th {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom-color: rgba(228, 239, 154, 0.35);
}

.rate-table tbody th {
  font-weight: 600;
  color: var(--text);
}

.rate-table tbody th [data-i18n="minFareNote"] {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.rate-table td {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  white-space: nowrap;
}

.rate-table thead th:not(:first-child),
.rate-table td {
  text-align: right;
}

.rate-notes {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.rate-notes strong {
  color: var(--text);
  font-weight: 700;
}

.rate-cta {
  margin: clamp(2.5rem, 5vh, 3.5rem) 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 1.05rem;
}

.rate-cta a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.rate-cta a:hover {
  color: #f1f7b4;
}

/* Contact */
.contact {
  padding: clamp(4rem, 10vh, 6.5rem) 0;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(228, 239, 154, 0.08), transparent 55%),
    var(--bg-elevated);
  border-top: 1px solid var(--line);
}

.contact-inner {
  display: grid;
  gap: 2.5rem;
}

.contact-eyebrow {
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-name {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.contact-place {
  margin: 0.85rem 0 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.contact-phone {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  transition: color 0.2s ease;
}

.contact-phone:hover {
  color: var(--accent);
}

.contact-email {
  display: block;
  margin-top: 0.65rem;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  font-weight: 600;
  color: var(--accent);
  word-break: break-all;
  transition: opacity 0.2s ease;
}

.contact-email:hover {
  opacity: 0.8;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Footer */
.site-footer {
  padding: 1.75rem clamp(1.25rem, 4vw, 2.5rem) 5.5rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

/* Legal page */
.legal-page {
  padding: calc(var(--header-h) + 2rem) clamp(1.25rem, 4vw, 2.5rem) 3rem;
}

.legal-inner {
  max-width: 42rem;
  margin: 0 auto;
}

.legal-back {
  margin: 0 0 1.5rem;
}

.legal-back a {
  color: var(--accent);
  font-weight: 500;
}

.legal-page h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
}

.legal-updated {
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-page section {
  margin-bottom: 1.75rem;
}

.legal-page h2 {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
}

.legal-page p,
.legal-page li {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.legal-page ul {
  margin: 0;
  padding-left: 1.25rem;
}

.legal-page a {
  color: var(--accent);
}

.legal-page code {
  font-size: 0.88em;
  color: var(--text);
}

/* Floating call button (mobile) */
.fab-call {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 999px;
  background: var(--accent);
  color: #111;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s var(--ease), background 0.2s ease;
}

.fab-call svg {
  width: 1.35rem;
  height: 1.35rem;
}

.fab-call:hover {
  transform: scale(1.05);
  background: #f1f7b4;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes hero-zoom {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1.02);
  }
}

@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }

  .contact-inner {
    grid-template-columns: 1.3fr 0.9fr;
    align-items: end;
  }

  .contact-actions {
    align-items: stretch;
    justify-self: end;
  }

  .fab-call {
    display: none;
  }

  .site-footer {
    padding-bottom: 1.75rem;
  }

  .service-list {
    grid-template-columns: 1fr 1fr;
    gap: 0 2.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    padding-bottom: clamp(4rem, 10vh, 6rem);
  }
}

@media (max-width: 480px) {
  .header-phone {
    font-size: 0.82rem;
  }

  .header-tools {
    gap: 0.45rem;
  }
}

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

  .hero-media img,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
