/* ================================================
   ELEVIA LEGAL GROUP — STYLESHEET 2025
   ================================================ */

/* ---------- LOCAL FONTS ---------- */
@font-face {
  font-family: "Stroma";
  src: url("fonts/Stroma-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "PublicSans";
  src: url("fonts/Public-sans/PublicSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "PublicSans";
  src: url("fonts/Public-sans/PublicSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "PublicSans";
  src: url("fonts/Public-sans/PublicSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "PublicSans";
  src: url("fonts/Public-sans/PublicSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

/* ---------- VARIABLES ---------- */
:root {
  --navy: #224e72; /* deep blue - primary brand */
  --navy-dark: #18223e; /* dark navy - navbar/footer/CTA */
  --navy-mid: var(--navy); /* alias — mismo valor que --navy */
  --accent: var(--navy); /* alias — mismo valor que --navy */
  --bg-light: #f7f7f4; /* warm white */
  --bg-cream: #ecedec; /* light gray */
  --bg-white: #ffffff;
  --text-dark: #18223e; /* dark navy headings */
  --text-body: #3b3c3f; /* dark gray body */
  --card-border: #cad5e0;
  --footer-bg: #18223e;

  --font-head: "Stroma", serif;
  --font-body: "PublicSans", "Segoe UI", sans-serif;

  --container: 1200px;
  --nav-h: 80px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 6px 28px rgba(0, 0, 0, 0.13);
}

/* ---------- RESET ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  background: var(--bg-white);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
em {
  font-style: italic;
}

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

/* ================================================ NAVBAR */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(10, 28, 56, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(200, 169, 110, 0.15);
  transition: background 0.3s var(--ease);
}
#navbar.scrolled {
  background: rgba(10, 28, 56, 0.99);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}
.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-logo-link {
  flex-shrink: 0;
}
.nav-logo {
  height: 42px;
  width: auto;
}
.nav-menu {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  padding: 8px 14px;
  border-radius: 6px;
  transition:
    color 0.2s,
    background 0.2s;
}
.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.nav-cta {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--navy-dark);
  background: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.nav-cta:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-1px);
}
.nav-menu-cta {
  display: none;
}
.nav-overlay {
  display: none;
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  transition: background 0.2s;
  z-index: 1100;
  position: relative;
}
.hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition:
    transform 0.3s var(--ease),
    opacity 0.25s;
  transform-origin: center;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ================================================ HERO */
.section-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-photo-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(108deg,
    rgba(255,255,255,0.35) 0%,
    rgba(255,255,255,0.10) 60%,
    transparent 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 60px 24px 40px;
}
.hero-content {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero-badge {
  width: min(300px, 80%);
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  color: #0c0c0c;
  line-height: 1.2;
}
.hero-title em {
  color: var(--navy-mid);
  font-style: italic;
}
.hero-sub-text {
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  color: rgba(0, 0, 0, 0.78);
  max-width: 480px;
  line-height: 1.7;
  font-weight: 400;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}
.btn-img-link {
  display: inline-block;
  transition: transform 0.2s var(--ease);
}
.btn-img-link:hover {
  transform: translateY(-2px);
}
.btn-img-link img {
  height: 50px;
  width: auto;
}

/* Hero founder attribution */
.hero-founder {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.hero-founder-line {
  width: 32px;
  height: 1.5px;
  background: var(--navy-dark);
  flex-shrink: 0;
  opacity: 0.5;
}
.hero-founder-text {
  font-size: 0.82rem;
  color: var(--navy-dark);
  font-style: italic;
  letter-spacing: 0.02em;
  line-height: 1.4;
  opacity: 0.8;
}
.hero-founder-text i {
  margin-right: 4px;
  opacity: 0.7;
}
.hero-founder-text strong {
  font-style: normal;
  font-weight: 700;
  opacity: 1;
  color: var(--navy);
}

/* Hero stats bar — bottom of hero */
.hero-stats-bar {
  position: relative;
  z-index: 2;
  background: transparent;
  padding: 20px 0 30px;
}
.hero-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 45px;
  align-items: center;
  justify-content: flex-start;
}
.hero-stat {
  flex: 0 0 auto;
  height: auto;
  width: 120px;
}

/* ================================================ FEATURE CARDS */
.section-features {
  background: var(--bg-white);
  padding: 24px 0 32px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feat-card {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 40px 32px 36px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feat-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 20px;
}
.feat-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.feat-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* ================================================ SHARED SECTION STYLES */
.section-header {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 48px;
}
.section-header.center {
  align-items: center;
  text-align: center;
}
.section-pill {
  display: inline-block;
  align-self: flex-start;
  background: var(--navy-dark);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 7px 22px;
  border-radius: 20px;
}
.section-header.center .section-pill {
  align-self: center;
}
/* Badge de imagen para encabezados de sección — usar class="section-badge" */
.section-badge {
  width: 280px;
  max-width: 50%;
  height: auto;
  display: block;
  margin: 0 auto 4px;
}
.section-heading {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: var(--text-dark);
  line-height: 1.25;
}
.section-heading .accent {
  color: var(--accent);
}
.section-sub {
  font-size: 0.95rem;
  color: var(--text-body);
  max-width: 560px;
}
.section-header.center .section-sub {
  margin: 0 auto;
}

/* ================================================ SERVICES */
.section-services {
  background: var(--bg-white);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
  background-image: url("images/fondo-servicios.webp");
  background-size: 65%;
  background-repeat: no-repeat;
  background-position: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.svc-item {
  background: var(--bg-cream);
  border-radius: 16px;
  border: 1.5px solid rgba(34, 78, 114, 0.15);
  padding: 32px 28px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.svc-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.svc-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  color: var(--navy-dark);
}
.svc-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.svc-title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.svc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.svc-list li {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* ================================================ WHY */
.section-why {
  background: var(--bg-cream);
  padding: 80px 0;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.why-card {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.why-card-built {
  background: #fff;
  border: 1.5px solid rgba(34, 78, 114, 0.2);
  border-radius: 20px;
  padding: 32px 20px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.why-card-built:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.why-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.why-title {
  font-family: var(--font-head);
  font-size: 1rem;
  color: #18223e;
  font-weight: 700;
  font-style: italic;
}
.why-desc {
  font-size: 0.85rem;
  color: #3b3c3f;
  line-height: 1.5;
  font-style: italic;
}

/* ================================================ CTA BANNER */
.section-cta {
  background: linear-gradient(135deg, #0d1624 0%, #18223e 45%, #1e3a5f 100%);
  padding: 80px 0;
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.cta-text {
  flex: none;
}
.cta-heading {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.15;
  width: 100%;
}
.cta-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  
  line-height: 1.6;
  margin: 0 auto;
}
.cta-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 14px 32px;
  border-radius: 30px;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.cta-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ================================================ TESTIMONIALS */
.section-testimonials {
  background: var(--bg-cream);
  padding: 48px 0 56px;
}
.testimonials-heading {
  font-style: normal;
}
.testimonials-layout {
  display: flex;
  align-items: center;
  gap: 16px;
}
.t-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--card-border);
  color: var(--navy-mid);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-white);
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
  box-shadow: var(--shadow-sm);
}
.t-arrow:hover {
  background: var(--navy-mid);
  color: #fff;
  transform: scale(1.08);
}
.testimonials-viewport {
  flex: 1;
  overflow: hidden;
}
.testimonials-track {
  display: flex;
  transition: transform 0.5s var(--ease);
}
.t-slide {
  min-width: 33.333%;
  padding: 0 8px;
}
.t-card-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* ================================================ CONTACT */
.section-contact {
  background: var(--bg-light);
  padding: 15px 0;
  position: relative;
  overflow: hidden;
}
.section-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("images/textura-contacto.webp");
  background-size: 420px;
  background-repeat: repeat;
  opacity: 0.04;
}
.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 5fr 7fr;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.15);
}
.contact-left {
  background: linear-gradient(160deg, #0d1624 0%, #18223e 55%, #1e3a5f 100%);
  padding: 56px 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  border-radius: 24px 0 0 24px;
}
.contact-heading {
  font-family: var(--font-head);
  font-size: clamp(2rem, 2.6vw, 4rem);
  color: #fff;
  line-height: 1.2;
  margin-top: 25px;
}
.contact-heading .accent {
  color: var(--navy-mid);
}
.contact-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  margin-top: 8px;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 30px;
}
.cinfo-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}
.cinfo-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.cinfo-item a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}
.cinfo-item a:hover {
  opacity: 0.75;
  text-decoration: underline;
}

.contact-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 35px 0 0 10px;
}
.contact-socials {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 10px;
}
.csocial-btn {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition:
    background 0.2s,
    transform 0.2s;
}
.csocial-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

/* Contact form */
.contact-right {
  background: var(--bg-white);
  padding: 56px 48px;
  min-width: 0;
}
.contact-form-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 24px;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
/* Full-width rows */
.contact-form > .cfield:nth-child(1),
.contact-form > .cfield:nth-child(4),
.contact-form > .cfield-textarea,
.contact-form > .btn-submit,
.contact-form > .form-msg {
  grid-column: 1 / -1;
}
.cfield {
  border: 1.5px solid var(--card-border);
  border-radius: 28px;
  padding: 10px 20px;
  background: var(--bg-light);
  transition:
    border-color 0.2s,
    background 0.2s;
}
.cfield:focus-within {
  border-color: var(--navy-mid);
  background: var(--bg-white);
}
.cfield--error {
  border-color: #e07070 !important;
}
.cfield--error .clabel::after {
  content: " — formato inválido";
  color: #e07070;
  font-weight: 400;
}
.cfield-textarea {
  border-radius: 16px;
}
.clabel {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  font-style: italic;
  color: var(--navy);
  margin-bottom: 4px;
}
.cfield input,
.cfield select,
.cfield textarea {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-dark);
  line-height: 1.5;
}
.cfield select {
  cursor: pointer;
}
.cfield textarea {
  resize: vertical;
  min-height: 110px;
}
.btn-submit {
  width: 100%;
  background: var(--navy-dark);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 48px;
  border-radius: 10px;
  letter-spacing: 0.05em;
  transition:
    background 0.2s,
    transform 0.2s;
  margin-top: 4px;
}
.btn-submit:hover {
  background: var(--navy);
  transform: translateY(-1px);
}
.form-msg {
  font-size: 0.85rem;
  color: var(--accent);
  min-height: 18px;
  text-align: center;
}

/* ================================================ WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.9rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 1200;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
  animation: wa-pulse 2.4s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 32px rgba(37, 211, 102, 0.65);
  animation: none;
}
@keyframes wa-pulse {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  }
  50% {
    box-shadow: 0 4px 34px rgba(37, 211, 102, 0.75);
  }
}

/* ================================================ FOOTER */
.site-footer {
  background: var(--footer-bg);
  padding: 23px 0 0;
  color: rgba(255, 255, 255, 0.85);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 20px;
}
/* Center brand column content and logo */
.footer-col.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 80%;
}
.footer-logo {
  /* make the image occupy all available width of the brand column */
  width: 50%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 10px;
  
}
.footer-brand-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  max-width: 280px;
}
.footer-exp-badge {
  display: inline-block;
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 20px;
}
 
.footer-col-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  margin-top: 10px;
}
.footer-col-italic {
  font-style: italic;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #fff;
}
.footer-socials {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.fsocial-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition:
    background 0.2s,
    transform 0.2s;
}
.fsocial-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.footer-chat-btn {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 9px 20px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  transition: background 0.2s;
}
.footer-chat-btn:hover {
  background: var(--accent);
}
.footer-copy-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
}
.footer-copy-bar p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  font-style: italic;
}

/* ================================================ RESPONSIVE */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-col.footer-brand { max-width: 280px; }
  .contact-inner {
    grid-template-columns: 1fr 1.2fr;
  }
  .contact-left {
    padding: 44px 32px;
  }
  .contact-right {
    padding: 44px 32px;
  }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  /* Dropdown panel */
  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
      padding 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }
  .nav-menu.active {
    max-height: 400px;
    padding: 12px 0 20px;
  }
  .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.78);
    width: 100%;
    text-align: center;
    padding: 14px 28px;
    border-radius: 0;
    background: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition:
      background 0.2s,
      color 0.2s;
  }
  .nav-link:last-of-type {
    border-bottom: none;
  }
  .nav-link:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
  }

  /* CTA inside dropdown */
  .nav-menu-cta {
    display: block;
    margin: 12px 28px 0;
    text-align: center;
    background: #fff;
    color: var(--navy-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 12px 24px;
    border-radius: 6px;
    transition:
      background 0.2s,
      transform 0.2s;
  }
  .nav-menu-cta:hover {
    background: rgba(255, 255, 255, 0.88);
    transform: translateY(-1px);
  }

  /* Hero stats */
  .hero-stats-row {
    justify-content: center;
  }
  .hero-stat {
    height: 70px;
  }

  /* Feature cards */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }
  .svc-item {
    gap: 20px;
  }

  /* Why */
  .why-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials — show 1 at a time */
  .t-slide {
    min-width: 100%;
  }

  /* Contact */
  .contact-inner {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }
  .contact-left {
    padding: 40px 28px;
    border-radius: 16px 16px 0 0;
  }
  .contact-right {
    padding: 36px 28px;
  }
  .contact-form {
    grid-template-columns: 1fr;
  }
  .contact-form > .cfield:nth-child(2),
  .contact-form > .cfield:nth-child(3) {
    grid-column: 1 / -1;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-col.footer-brand {
    width: 100%;
    max-width: 100%;
    align-items: center;
    justify-self: center;
  }
  .footer-links {
    align-items: center;
  }
  .footer-socials {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-btns {
    flex-direction: column;
  }
  .btn-img-link img {
    height: 46px;
  }
  .hero-stat {
    height: 56px;
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
