/* ==========================================================================
   Axbale — one-page site
   ========================================================================== */

:root {
  --ink: #0c1526;
  --navy: #101d38;
  --navy-soft: #16264a;
  --blue: #3d68b3;
  --amber: #f2a93b;
  --amber-light: #fbd08a;
  --paper: #f5f6f9;
  --paper-alt: #eceff5;
  --white: #ffffff;
  --ink-body: #2b3448;
  --ink-soft: #5b6478;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(16, 29, 56, 0.12);
  --whatsapp: #25d366;
  --whatsapp-dark: #1fb959;

  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --container: 1180px;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.eyebrow--light {
  color: var(--amber);
}

.eyebrow--dark {
  color: var(--blue);
}

/* Signature mark: three ascending diagonal strokes, echoing the Axbale logo */
.mark {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
  flex: none;
}

.mark span {
  width: 3px;
  display: block;
  background: currentColor;
  border-radius: 2px;
  transform: skewX(-18deg);
}

.mark span:nth-child(1) { height: 8px; }
.mark span:nth-child(2) { height: 12px; }
.mark span:nth-child(3) { height: 16px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 15px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--amber-light);
  outline-offset: 3px;
}

.btn svg {
  flex: none;
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: #06210f;
  box-shadow: 0 10px 24px -8px rgba(37, 211, 102, 0.55);
}

.btn--whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(37, 211, 102, 0.65);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--line-dark);
}

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

/* -------------------------------------------------------------------------
   Header / nav
   ------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(12, 21, 38, 0.92);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 8px 30px -12px rgba(0, 0, 0, 0.5);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: -0.01em;
}

.brand img {
  height: 30px;
  width: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: width 0.22s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.nav-cta {
  display: none;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1.5px solid var(--line-dark);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
  .nav-cta {
    display: inline-flex;
  }
  .nav-toggle {
    display: none;
  }
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--ink);
  overflow: hidden;
  padding-top: 96px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("img/1.jpg");
  background-size: cover;
  background-position: center 30%;
  opacity: 0.34;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 17, 32, 0.75) 0%, rgba(10, 17, 32, 0.88) 55%, var(--ink) 100%),
    linear-gradient(100deg, var(--ink) 10%, rgba(12, 21, 38, 0.55) 55%, rgba(12, 21, 38, 0.25) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 64px 0 96px;
  max-width: 760px;
}

.hero__eyebrow {
  margin-bottom: 22px;
  color: var(--amber);
}

.hero h1 {
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  color: var(--white);
  line-height: 0.98;
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--amber-light), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lede {
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 46ch;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.hero__site {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
}

.hero__site:hover {
  color: var(--amber-light);
  border-color: var(--amber-light);
}

.hero__chevrons {
  position: absolute;
  right: -4%;
  bottom: -8%;
  z-index: 1;
  width: min(46vw, 560px);
  opacity: 0.9;
  pointer-events: none;
}

.hero__scrolldown {
  position: absolute;
  left: 24px;
  bottom: 28px;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__scrolldown .line {
  width: 34px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

@media (min-width: 700px) {
  .hero__scrolldown {
    display: flex;
  }
}

/* -------------------------------------------------------------------------
   Reveal-on-scroll
   ------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* -------------------------------------------------------------------------
   Section shells
   ------------------------------------------------------------------------- */

section {
  position: relative;
}

.section {
  padding: 96px 0;
}

.section--dark {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head .eyebrow {
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  line-height: 1.08;
}

/* -------------------------------------------------------------------------
   Mission / Vision
   ------------------------------------------------------------------------- */

.mv-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 800px) {
  .mv-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .mv-card:first-child {
    padding-right: 56px;
    border-right: 1px solid var(--line-light);
  }
  .mv-card:last-child {
    padding-left: 56px;
  }
}

.mv-card .eyebrow {
  margin-bottom: 20px;
  color: var(--blue);
}

.mv-card h3 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  margin-bottom: 18px;
}

.mv-card p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 46ch;
}

/* -------------------------------------------------------------------------
   Valores
   ------------------------------------------------------------------------- */

.values-grid {
  display: grid;
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
}

@media (min-width: 760px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  background: var(--navy-soft);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.value-card .mark {
  color: var(--amber);
}

.value-card h3 {
  font-size: 1.15rem;
  color: var(--white);
}

.value-card p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.96rem;
}

/* -------------------------------------------------------------------------
   Especialidades
   ------------------------------------------------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  isolation: isolate;
  box-shadow: 0 18px 40px -20px rgba(12, 21, 38, 0.35);
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover img {
  transform: scale(1.06);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 21, 38, 0) 35%, rgba(9, 14, 26, 0.92) 100%);
  z-index: 1;
}

.service-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 22px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.service-card__body .mark {
  color: var(--amber);
  margin-bottom: 3px;
}

.service-card__body h3 {
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.28;
}

/* -------------------------------------------------------------------------
   Contact
   ------------------------------------------------------------------------- */

.contact {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  overflow: hidden;
  position: relative;
}

.contact__bg {
  position: absolute;
  inset: 0;
  background-image: url("img/8.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.14;
}

.contact__scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 50% 0%, rgba(16, 29, 56, 0.4) 0%, var(--ink) 72%);
}

.contact .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact .eyebrow {
  justify-content: center;
  margin-bottom: 22px;
  color: var(--amber);
}

.contact h2 {
  color: var(--white);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  max-width: 16ch;
  line-height: 1.05;
  margin-bottom: 20px;
}

.contact__lede {
  color: rgba(255, 255, 255, 0.72);
  max-width: 46ch;
  margin-bottom: 40px;
  font-size: 1.08rem;
}

.contact .btn--whatsapp {
  font-size: 1.08rem;
  padding: 18px 34px;
  margin-bottom: 56px;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 11px 20px;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.contact-chip:hover {
  border-color: var(--amber);
  color: var(--amber-light);
  background: rgba(242, 169, 59, 0.08);
}

.contact-chip svg {
  flex: none;
  opacity: 0.85;
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  padding: 28px 0;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.footer-brand img {
  height: 18px;
  width: auto;
  opacity: 0.8;
}

.footer-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.04em;
}

/* -------------------------------------------------------------------------
   Floating WhatsApp CTA
   ------------------------------------------------------------------------- */

.float-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp);
  color: #06210f;
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 12px 28px -10px rgba(6, 33, 15, 0.55);
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s ease;
}

.float-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -10px rgba(6, 33, 15, 0.65);
}

.float-whatsapp span {
  display: none;
}

@media (min-width: 640px) {
  .float-whatsapp span {
    display: inline;
  }
}

.float-whatsapp:focus-visible {
  outline: 3px solid var(--amber-light);
  outline-offset: 3px;
}
