:root {
  --navy: #0c3b67;
  --navy-dark: #07253e;
  --blue: #1e5f8a;
  --sky: #eaf4fb;
  --gold: #c29a3b;
  --text: #12314a;
  --muted: #688199;
  --border: rgba(12, 59, 103, 0.18);
  --white: #ffffff;
  --surface: #f8fbff;
  --shadow: 0 24px 70px rgba(6, 29, 49, 0.13);
  --shadow-soft: 0 12px 34px rgba(8, 32, 54, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 88px;
}

#hero {
  scroll-margin-top: 160px;
}

#contacto {
  scroll-margin-top: 145px;
}

body {
  margin: 0;
  font-family: "Manrope", "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fbff 0%, #f3f8fc 100%);
  line-height: 1.75;
  letter-spacing: -0.01em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(12, 59, 103, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 59, 103, 0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.24), transparent 82%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.24), transparent 82%);
  opacity: 0.7;
}

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

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2000;
  padding: 0.7rem 1rem;
  border-radius: 0.6rem;
  background: var(--navy-dark);
  color: var(--white);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-shell {
  position: relative;
  overflow-x: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  background: rgba(248, 251, 255, 0.92);
  border-bottom: 1px solid rgba(12, 59, 103, 0.12);
  box-shadow: 0 8px 28px rgba(7, 37, 62, 0.04);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem 0;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.brand img {
  width: clamp(170px, 16vw, 220px);
  height: auto;
  display: block;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  position: relative;
  transition: color 0.25s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--navy);
}

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

/* Botón Consultar del navbar */
.site-nav .btn-nav,
.site-nav .btn-nav:hover,
.site-nav .btn-nav:focus-visible {
  color: var(--white);
}

.site-nav .btn-nav:hover,
.site-nav .btn-nav:focus-visible {
  background: linear-gradient(135deg, #0a3358 0%, #164f7b 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(12, 59, 103, 0.28);
}

.site-nav .btn-nav:active {
  transform: translateY(0) scale(0.98);
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.25rem;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.16) 50%, transparent 100%);
  transform: translateX(-120%);
  transition: transform 0.45s ease;
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: translateX(120%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(12, 59, 103, 0.18);
  border: 1px solid rgba(194, 154, 59, 0.16);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(7, 37, 62, 0.06);
}

.btn-nav {
  background: var(--navy);
  color: var(--white);
  padding-inline: 1rem;
  box-shadow: 0 10px 24px rgba(12, 59, 103, 0.18);

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}


/* Botón flotante de WhatsApp */
.wafloat {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.8rem);
  bottom: clamp(1rem, 2.5vw, 1.8rem);
  z-index: 999;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 60px;
  height: 60px;
  border-radius: 50%;

  background: #25d366;
  color: #ffffff;
  text-decoration: none;

  box-shadow:
    0 6px 24px rgba(37, 211, 102, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.15);

  overflow: visible;
  isolation: isolate;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.wafloat > i {
  position: relative;
  z-index: 2;
  display: block;
  font-size: 1.85rem;
  line-height: 1;
  color: #ffffff;
}

.wafloat__pulse {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: #25d366;
  animation: waPulse 2.2s ease-out infinite;
  pointer-events: none;
}

.wafloat:hover {
  transform: translateY(-3px) scale(1.05);
  background: #20bd5a;
  box-shadow:
    0 10px 30px rgba(37, 211, 102, 0.48),
    0 4px 12px rgba(0, 0, 0, 0.18);
}

.wafloat:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.42;
  }

  70%,
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  #hero {
  scroll-margin-top: 110px;
}

  #contacto {
  scroll-margin-top: 100px;
}

  .wafloat {
    width: 54px;
    height: 54px;
  }

  .wafloat > i {
    font-size: 1.65rem;
  }
}


.hero-section {
  padding: 5.7rem 0 3.8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.hero-copy h1,
.section-heading h2,
.about-copy h2,
.expertise-copy h2,
.cta-card h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy-dark);
  margin: 0 0 1rem;
}

.hero-text,
.section-heading p,
.about-copy p,
.expertise-copy p,
.service-card p,
.cta-card p,
.site-footer p,
.process-step p,
.panel-card li {
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.7rem;
}


.photo-card {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f4f9fd 100%);
  border-radius: 1.8rem;
  padding: 0.9rem;
  box-shadow: 0 18px 44px rgba(10, 34, 56, 0.11);
  border: 1px solid rgba(12, 59, 103, 0.1);
  overflow: hidden;
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 59, 103, 0.05), transparent 60%);
  pointer-events: none;
}

.photo-card img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 1.4rem;
}

.photo-badge {
  position: absolute;
  left: 1.6rem;
  bottom: 1.6rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy-dark);
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(10, 36, 58, 0.12);
  border: 1px solid rgba(194, 154, 59, 0.22);
  backdrop-filter: blur(8px);
}

.photo-badge strong {
  display: block;
  font-size: 0.95rem;
}

.photo-badge span {
  font-size: 0.85rem;
  color: var(--muted);
}

.highlights-bar {
  padding: 0 0 2.2rem;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.highlights-grid article {
  background: linear-gradient(135deg, #0e446f 0%, #16608f 100%);
  color: var(--white);
  padding: 1.35rem 1.4rem;
  border-radius: 1.15rem;
  box-shadow: 0 16px 34px rgba(10, 34, 56, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.highlights-grid h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
}

.highlights-grid p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.95;
}

.section {
  padding: 5.2rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(234, 244, 251, 0.7) 0%, rgba(242, 248, 252, 0.92) 100%);
}

.about-grid,
.expertise-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.panel-card,
.expertise-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(12, 59, 103, 0.1);
  border-radius: 1.35rem;
  padding: 1.7rem;
  box-shadow: 0 12px 28px rgba(7, 37, 62, 0.06);
}

.panel-card ul,
.expertise-copy ul {
  padding-left: 1rem;
  margin: 1rem 0 1.2rem;
}

.text-link {
  color: var(--blue);
  font-weight: 700;
}


/* Equipo y continuidad familiar */
.team-section {
  padding-top: 4.2rem;
  padding-bottom: 4.6rem;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98) 0%, rgba(238, 246, 252, 0.86) 100%);
}

.team-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.6rem);
  padding: clamp(1.6rem, 3.4vw, 3rem);
  overflow: hidden;
  border: 1px solid rgba(12, 59, 103, 0.1);
  border-radius: 1.55rem;
  background:
    radial-gradient(circle at 92% 8%, rgba(194, 154, 59, 0.1), transparent 25%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 250, 254, 0.96) 100%);
  box-shadow: 0 20px 50px rgba(7, 37, 62, 0.08);
}

.team-shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(1.6rem, 3.4vw, 3rem);
  width: 4.5rem;
  height: 2px;
  background: var(--gold);
}

.team-copy {
  position: relative;
  z-index: 1;
  max-width: 35rem;
}

.team-copy h2 {
  margin: 0 0 1rem;
  color: var(--navy-dark);
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.team-copy > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.team-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.team-values span {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  padding: 0.58rem 0.8rem;
  border: 1px solid rgba(12, 59, 103, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--navy-dark);
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(7, 37, 62, 0.045);
}

.team-values i {
  color: var(--gold);
  font-size: 0.72rem;
}

.team-visual {
  min-width: 0;
}

.team-portraits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: end;
}

.team-portrait {
  position: relative;
  height: clamp(270px, 31vw, 390px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(12, 59, 103, 0.1);
  border-radius: 1.15rem;
  background: #eaf1f7;
  box-shadow: 0 16px 34px rgba(7, 37, 62, 0.1);
}

.team-portrait:first-child {
  transform: translateY(0.75rem);
}

.team-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transition: transform 0.45s ease;
}

.team-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(7, 37, 62, 0.14) 100%);
}

.team-portrait:hover img {
  transform: scale(1.025);
}

.team-caption {
  margin: 1.3rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: right;
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.service-card,
.process-step {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(12, 59, 103, 0.1);
  border-radius: 1.25rem;
  padding: 1.55rem;
  box-shadow: 0 10px 24px rgba(7, 37, 62, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before,
.process-step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(194, 154, 59, 0.06), transparent 45%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-card:hover,
.process-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(15, 41, 66, 0.08);
  border-color: rgba(194, 154, 59, 0.2);
}

.service-card:hover::before,
.process-step:hover::before {
  opacity: 1;
}

.service-card h3,
.process-step h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--navy-dark);
}

.expertise-card {
  display: grid;
  gap: 1rem;
}

.mini-stat {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: var(--surface);
  border: 1px solid rgba(12, 59, 103, 0.08);
}

.mini-stat strong {
  display: block;
  font-size: 1.08rem;
  color: var(--navy-dark);
}

.mini-stat span {
  color: var(--muted);
  font-size: 0.95rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.process-step span {
  display: inline-flex;
  width: 2.2rem;
  height: 2.2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--sky);
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.client-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.client-list span {
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(12, 59, 103, 0.12);
  border-radius: 999px;
  color: var(--navy-dark);
  box-shadow: var(--shadow-soft);
}

.cta-section {
  padding: 1rem 0 3rem;
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(320px, 0.6fr);
  align-items: start;
  gap: 1.4rem;
  background: linear-gradient(135deg, #0b3a60 0%, #125a8c 100%);
  color: var(--white);
  border-radius: 1.15rem;
  padding: 1.6rem;
  box-shadow: 0 10px 24px rgba(3, 22, 40, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 34%);
  pointer-events: none;
}

.cta-content {
  max-width: 24rem;
  padding-top: 0.25rem;
}

.cta-content h2 {
  color: #f8fbff;
  margin-bottom: 0.6rem;
  line-height: 1.15;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  max-width: 12ch;
}

.cta-content p {
  color: rgba(248, 251, 255, 0.9);
  margin-bottom: 0.55rem;
  font-size: 0.98rem;
}

.contact-details {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.8rem 0.9rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  width: min(100%, 20rem);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.contacto__list-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.14);
  color: #f6fbff;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contacto__list-ico i {
  font-size: 0.95rem;
}

.contact-detail-body {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.contact-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248, 251, 255, 0.76);
  font-weight: 700;
}

.contact-detail a,
.contact-detail span {
  color: #f6fbff;
  font-weight: 600;
  font-size: 0.95rem;
}

.cta-panel {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0.95rem;
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  box-shadow: none;
}

.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.94rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.field label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 251, 255, 0.84);
  font-weight: 700;
}

.field input,
.field textarea {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0.75rem;
  padding: 0.72rem 0.84rem;
  font: inherit;
  color: var(--navy-dark);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 1px 2px rgba(3, 22, 40, 0.04);
}

.field textarea {
  min-height: 100px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #7b8ea3;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid rgba(255, 255, 255, 0.48);
  outline-offset: 2px;
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 0 0 3px rgba(194, 154, 59, 0.2);
}

.field.has-error input,
.field.has-error textarea {
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.field-error {
  min-height: 0.95rem;
  margin: 0;
  font-size: 0.8rem;
  color: #ffe1df;
  font-weight: 600;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.1rem;
}

.contact-form .btn-primary {
  min-width: 8.5rem;
  padding: 0.8rem 1.15rem;

  background: linear-gradient(135deg, #f7fafd 0%, #e6eef7 100%);
  color: var(--navy);

  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 14px rgba(8, 37, 62, 0.12);

  cursor: pointer;

  transition:
    transform 0.22s ease,
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.contact-form .btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);

  background: linear-gradient(
    135deg,
    var(--navy) 0%,
    var(--blue) 100%
  );

  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);

  box-shadow:
    0 12px 24px rgba(3, 22, 40, 0.26),
    0 4px 10px rgba(3, 22, 40, 0.12);
}

.contact-form .btn-primary:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 5px 12px rgba(3, 22, 40, 0.18);
}

.contact-form .btn-primary:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
}

.contact-form .btn-primary:disabled {
  opacity: 0.65;
  cursor: progress;
  transform: none;
}

.form-status {
  min-height: 1.25rem;
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.96);
  font-weight: 600;
}

.form-status.success {
  color: #d7f8e1;
}

.form-status.error {
  color: #ffe1df;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.055), transparent 28%),
    linear-gradient(135deg, #182d40 0%, #11273a 50%, #0b1d2d 100%);
  border-top: 1px solid rgba(194, 154, 59, 0.36);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.76;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(150px, 0.65fr) minmax(260px, 1fr);
  align-items: start;
  gap: clamp(2.5rem, 5vw, 5rem);
  padding-bottom: 3.25rem;
}

.footer-about {
  max-width: 34rem;
}

.footer-logo-link {
  display: inline-flex;
  margin-bottom: 1.3rem;
}

.footer-logo-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.footer-logo-link:hover .footer-logo-frame,
.footer-logo-link:focus-visible .footer-logo-frame {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.footer-logo-frame img {
  width: clamp(175px, 17vw, 225px);
  height: auto;
}

.footer-about p {
  max-width: 31rem;
  margin: 0 0 1rem;
  color: rgba(239, 246, 252, 0.76);
  font-size: 0.97rem;
  line-height: 1.75;
}

.footer-since {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-since::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: var(--gold);
}

.footer-nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-nav h2,
.footer-contact h2 {
  margin: 0 0 1.25rem;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.footer-nav {
  gap: 0.72rem;
}

.footer-nav h2 {
  margin-bottom: 0.55rem;
}

.footer-nav a {
  position: relative;
  color: rgba(239, 246, 252, 0.72);
  font-size: 0.94rem;
  transition: color 0.22s ease, transform 0.22s ease;
}

.footer-nav a::before {
  content: "";
  position: absolute;
  left: -0.95rem;
  top: 50%;
  width: 0.45rem;
  height: 1px;
  background: var(--gold);
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.22s ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #ffffff;
  transform: translateX(0.3rem);
}

.footer-nav a:hover::before,
.footer-nav a:focus-visible::before {
  opacity: 1;
}

.footer-contact {
  gap: 0.75rem;
}

.footer-contact > a,
.footer-location {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  min-width: 0;
  padding: 0.55rem 0;
  color: rgba(239, 246, 252, 0.78);
}

.footer-contact > a {
  transition: color 0.22s ease, transform 0.22s ease;
}

.footer-contact > a:hover,
.footer-contact > a:focus-visible {
  color: #ffffff;
  transform: translateX(0.25rem);
}

.footer-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  flex: 0 0 2.3rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.075);
  color: #ffffff;
}

.footer-contact strong,
.footer-location strong {
  display: block;
  margin-bottom: 0.08rem;
  color: #ffffff;
  font-size: 0.82rem;
  line-height: 1.2;
}

.footer-contact small,
.footer-location small {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: rgba(239, 246, 252, 0.67);
  font-size: 0.84rem;
  line-height: 1.45;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  color: rgba(239, 246, 252, 0.58);
  font-size: 0.82rem;
  line-height: 1.5;
}

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

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

@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .expertise-grid,
  .team-shell {
    grid-template-columns: 1fr;
  }

  .team-shell {
    gap: 2.4rem;
  }

  .team-copy {
    max-width: 46rem;
  }

  .team-portrait {
    height: clamp(320px, 54vw, 500px);
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 3rem;
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    align-items: flex-start;
    background: var(--white);
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-section {
    padding-top: 3.3rem;
  }

  .highlights-grid,
  .services-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .team-section {
    padding-top: 3.4rem;
    padding-bottom: 3.6rem;
  }

  .team-shell {
    padding: 1.35rem;
    border-radius: 1.2rem;
  }

  .team-portraits {
    gap: 0.7rem;
  }

  .team-portrait {
    height: clamp(235px, 68vw, 360px);
    border-radius: 0.95rem;
  }

  .team-portrait:first-child {
    transform: none;
  }

  .team-caption {
    text-align: left;
  }

  .section {
    padding: 3.8rem 0;
  }


  .cta-card {
    padding: 1.3rem;
    grid-template-columns: 1fr;
  }

  .cta-content {
    max-width: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 0.9rem;
  }


  .site-footer {
    padding-top: 3rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2.4rem;
    padding-bottom: 2.4rem;
  }

  .footer-about {
    grid-column: auto;
  }

  .footer-logo-frame img {
    width: 190px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .wafloat__pulse {
    animation: none !important;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

