:root {
  --primary: #063F4A;
  --dark: #02313A;
  --accent: #F5823A;
  --accent-dark: #E06E22;
  --white: #FFFFFF;
  --light: #F5F9FA;
  --text: #16343A;
  --muted: #5A7A82;
  --border: #D7E3E6;
  --wa: #1DA851;
  --wa-dark: #178A43;
  --error: #C0392B;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 6px 18px rgba(2, 49, 58, 0.08);
  --shadow-md: 0 18px 40px rgba(2, 49, 58, 0.14);
  --shadow-lg: 0 30px 60px rgba(2, 49, 58, 0.18);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --header-h: 80px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--accent);
  color: var(--dark);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 18px;
  background: var(--dark);
  color: var(--white);
  border-radius: 8px;
  transform: translateY(-200%);
  transition: transform 0.25s ease;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section {
  padding: 96px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 52px;
}

.section-head h2,
.contacts-info h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.16;
  color: var(--dark);
  margin: 14px 0 16px;
}

.section-head p {
  color: var(--muted);
  font-size: 16.5px;
}

.section-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head-center .eyebrow {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 16px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-accent {
  background: var(--accent);
  color: var(--dark);
  box-shadow: 0 10px 24px rgba(245, 130, 58, 0.35);
}

.btn-accent:hover {
  background: var(--accent-dark);
  color: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(245, 130, 58, 0.45);
}

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

.btn-ghost:hover {
  background: var(--white);
  color: var(--dark);
  transform: translateY(-3px);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-whatsapp {
  background: var(--wa);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(29, 168, 81, 0.35);
}

.btn-whatsapp:hover {
  background: var(--wa-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(29, 168, 81, 0.45);
}

.btn-lg {
  padding: 19px 34px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.header.scrolled {
  background: rgba(2, 49, 58, 0.94);
  box-shadow: 0 8px 30px rgba(2, 49, 58, 0.25);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  display: inline-flex;
  transition: transform 0.3s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.05) rotate(-3deg);
}

.brand-logo {
  display: block;
  height: 54px;
  width: auto;
  background: var(--white);
  padding: 7px 12px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(2, 49, 58, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.03);
  box-shadow: 0 6px 22px rgba(2, 49, 58, 0.38);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: 2px;
  color: var(--white);
  transition: color 0.35s ease;
}

.brand-sub {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.35s ease;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  position: relative;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  color: var(--white);
  padding: 8px 2px;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(2, 49, 58, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 1102;
  transition: background 0.3s ease;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 90px;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(2, 49, 58, 0.94) 0%, rgba(6, 63, 74, 0.82) 45%, rgba(6, 63, 74, 0.45) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 130, 58, 0.35) 0%, rgba(245, 130, 58, 0) 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(245, 130, 58, 0.14);
  border: 1px solid rgba(245, 130, 58, 0.45);
  padding: 10px 18px;
  border-radius: 999px;
  animation: fadeDown 0.7s ease both;
}

.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(245, 130, 58, 0.25);
}

.hero h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(34px, 5.4vw, 62px);
  line-height: 1.1;
  color: var(--white);
  margin: 26px 0 20px;
  text-wrap: balance;
  animation: fadeUp 0.8s ease 0.12s both;
}

.hero-content > p {
  font-size: clamp(16px, 1.6vw, 18.5px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
  animation: fadeUp 0.8s ease 0.24s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
  animation: fadeUp 0.8s ease 0.36s both;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  width: 26px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  animation: fadeDown 0.8s ease 0.6s both;
}

.hero-scroll span {
  width: 4px;
  height: 9px;
  border-radius: 4px;
  background: var(--accent);
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollDot {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  70% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ---------- Trust bar ---------- */

.trust {
  background: var(--white);
  padding: 40px 0;
  box-shadow: 0 1px 0 var(--border);
}

.trust-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.trust-msg {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--primary);
  text-align: center;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 0;
}

.trust-items li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
  padding: 0 26px;
  border-right: 1px solid var(--border);
}

.trust-items li:last-child {
  border-right: none;
}

.trust-items svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

/* ---------- About ---------- */

.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-content h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(27px, 3.6vw, 38px);
  line-height: 1.18;
  color: var(--dark);
  margin: 14px 0 18px;
}

.about-content p {
  color: var(--muted);
  margin-bottom: 14px;
}

.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
  margin-top: 26px;
}

.about-points li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--dark);
}

.about-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(245, 130, 58, 0.15);
  color: var(--accent);
}

.about-check svg {
  width: 15px;
  height: 15px;
}

.about-media {
  position: relative;
}

.about-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.about-float {
  position: absolute;
  left: -22px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  animation: floatY 5s ease-in-out infinite;
}

.about-float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--dark);
  flex-shrink: 0;
}

.about-float-icon svg {
  width: 24px;
  height: 24px;
}

.about-float-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.about-float-text strong {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--dark);
}

.about-float-text small {
  font-size: 13px;
  color: var(--muted);
}

@keyframes floatY {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ---------- Indicators ---------- */

.indicators {
  position: relative;
  background: linear-gradient(120deg, var(--dark) 0%, var(--primary) 100%);
  padding: 76px 0;
  overflow: hidden;
}

.indicators::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 130, 58, 0.28) 0%, rgba(245, 130, 58, 0) 70%);
}

.indicators-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.indicator {
  text-align: center;
  padding: 12px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.indicator:last-child {
  border-right: none;
}

.ind-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(40px, 5.5vw, 60px);
  line-height: 1;
  color: var(--accent);
  margin-bottom: 12px;
}

.ind-label {
  display: block;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 220px;
  margin: 0 auto;
}

/* ---------- Services ---------- */

.services {
  background: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card:hover {
  transform: translateY(-9px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.service-num {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  background: rgba(2, 49, 58, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 7px 14px;
  border-radius: 999px;
  letter-spacing: 1px;
}

.service-body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 38px 24px 26px;
}

.service-icon {
  position: absolute;
  top: -29px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--dark);
  border: 5px solid var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, background 0.35s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.08) rotate(-6deg);
}

.service-icon svg {
  width: 25px;
  height: 25px;
}

.service-body h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 10px;
  min-height: 2.6em;
}

.service-body p {
  font-size: 14.5px;
  color: var(--muted);
  flex: 1;
  margin-bottom: 20px;
}

.service-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
  background: rgba(6, 63, 74, 0.07);
  padding: 11px 18px;
  border-radius: 999px;
  transition: background 0.3s ease, color 0.3s ease, gap 0.3s ease;
}

.service-link svg {
  width: 17px;
  height: 17px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-link {
  background: var(--accent);
  color: var(--dark);
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

/* ---------- Why ---------- */

.why {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.why-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--primary);
  color: var(--white);
  margin-bottom: 22px;
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.why-card:hover .why-icon {
  background: var(--accent);
  color: var(--dark);
  transform: rotate(-6deg) scale(1.05);
}

.why-icon svg {
  width: 27px;
  height: 27px;
}

.why-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18.5px;
  color: var(--dark);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  background: linear-gradient(120deg, var(--dark) 0%, var(--primary) 100%);
  padding: 96px 0;
  overflow: hidden;
  text-align: center;
}

.cta-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-shapes::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 42px;
  background: rgba(245, 130, 58, 0.16);
  transform: rotate(24deg);
  top: -120px;
  left: -90px;
}

.cta-shapes::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 42px solid rgba(245, 130, 58, 0.12);
  bottom: -110px;
  right: -60px;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.cta h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.16;
  color: var(--white);
  margin-bottom: 16px;
  text-wrap: balance;
}

.cta p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 34px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ---------- Contacts ---------- */

.contacts {
  background: var(--light);
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}

.contacts-info h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(27px, 3.6vw, 38px);
  line-height: 1.18;
  color: var(--dark);
  margin: 14px 0 8px;
}

.contacts-company {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--primary);
  margin-bottom: 22px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 30px;
  font-style: normal;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 15px;
  color: var(--text);
}

.contact-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 3px;
}

.contact-item strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 2px;
}

.contact-item a {
  color: var(--primary);
  transition: color 0.25s ease;
}

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

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.contacts-form {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 38px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-field label span {
  color: var(--accent);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #9BB3B9;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(245, 130, 58, 0.18);
}

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

.form-field.invalid input,
.form-field.invalid select,
.form-field.invalid textarea {
  border-color: var(--error);
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.12);
}

.form-error {
  display: none;
  font-size: 13px;
  color: var(--error);
  margin-top: 6px;
}

.form-field.invalid .form-error {
  display: block;
}

.form-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
  text-align: center;
}

.form-success {
  text-align: center;
  padding: 30px 12px;
}

.form-success svg {
  width: 56px;
  height: 56px;
  color: var(--wa);
  margin: 0 auto 18px;
}

.form-success h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 10px;
}

.form-success p {
  color: var(--muted);
  margin-bottom: 24px;
}

/* ---------- Map ---------- */

.map-section {
  background: var(--white);
  padding-top: 96px;
}

.map-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
}

.map-card {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: var(--white);
  border-radius: 16px;
  padding: 22px 26px;
  max-width: 340px;
  box-shadow: var(--shadow-lg);
}

.map-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--dark);
  margin: 8px 0 6px;
}

.map-card p {
  font-size: 14px;
  color: var(--muted);
}

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

.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
  gap: 44px;
  padding-bottom: 56px;
}

.footer-brand .brand-name {
  color: var(--white);
}

.footer-brand .brand-sub {
  color: rgba(255, 255, 255, 0.6);
}

.footer-brand > p {
  font-size: 14.5px;
  line-height: 1.7;
  margin-top: 18px;
  max-width: 300px;
}

.footer-nif {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13.5px;
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col a {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-col a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact li {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-contact span {
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- WhatsApp float ---------- */

.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--wa);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(29, 168, 81, 0.45);
  transition: transform 0.3s ease, background 0.3s ease;
}

.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa);
  animation: waPulse 2.2s ease-out infinite;
}

.wa-float:hover {
  transform: scale(1.1);
  background: var(--wa-dark);
}

.wa-float svg {
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 1;
}

.wa-tip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 13px;
  padding: 9px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.wa-float:hover .wa-tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

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

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

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

/* ---------- Responsive ---------- */

@media (max-width: 1199px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .section {
    padding: 72px 0;
  }

  .header.scrolled {
    background: rgba(2, 49, 58, 0.96);
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    width: min(360px, 86vw);
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 34px;
    padding: 110px 36px 40px;
    background: linear-gradient(160deg, var(--dark) 0%, var(--primary) 100%);
    box-shadow: -20px 0 50px rgba(2, 49, 58, 0.35);
    transform: translateX(105%);
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .nav-link {
    font-size: 19px;
    color: var(--white);
  }

  .nav-cta {
    margin-top: 10px;
  }

  .nav-toggle {
    display: flex;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .about-float {
    left: 16px;
    bottom: -22px;
  }

  .indicators-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }

  .indicator {
    border-right: none;
  }

  .indicator:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.14);
  }

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

  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    min-height: 92vh;
    padding: calc(var(--header-h) + 24px) 0 80px;
  }

  .hero h1 {
    font-size: clamp(30px, 9vw, 40px);
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .hero-scroll {
    display: none;
  }

  .trust-items li {
    border-right: none;
    padding: 6px 16px;
  }

  .about-points {
    grid-template-columns: 1fr;
  }

  .map-card {
    position: static;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
    border-top: 1px solid var(--border);
  }

  .map-wrap iframe {
    height: 340px;
  }

  .contacts-form {
    padding: 26px 20px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 599px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .indicators-grid {
    grid-template-columns: 1fr;
  }

  .indicator:nth-child(odd) {
    border-right: none;
  }

  .wa-float {
    right: 18px;
    bottom: 18px;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}