:root {
  --brand: #003b73;
  --brand-light: #00a8e8;
  --brand-dark: #001f3f;
  --accent: #25d366;
  --danger: #dc2626;
  --danger-hover: #b91c1c;
  --text: #1f2937;
  --muted: #6b7280;
  --surface: #ffffff;
  --bg: #f5f8fb;
  --radius: 18px;
  --shadow: 0 12px 32px rgba(0, 31, 63, 0.1);
  --shadow-hover: 0 18px 40px rgba(0, 59, 115, 0.16);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

.protected-site {
  -webkit-user-select: none;
  user-select: none;
}

.protected-site input,
.protected-site textarea,
.protected-site select {
  -webkit-user-select: text;
  user-select: text;
}

a {
  text-decoration: none;
}

header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--brand);
  padding: 14px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 0 rgba(0, 59, 115, 0.08), 0 8px 24px rgba(0, 31, 63, 0.06);
  border-bottom: 1px solid rgba(0, 59, 115, 0.06);
}

.logo {
  font-size: 26px;
  font-weight: 800;
}

.logo img {
  max-height: 72px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo span {
  color: #00a8e8;
}

nav a {
  color: var(--brand);
  margin-left: 22px;
  font-weight: 700;
  font-size: 15px;
  position: relative;
  transition: color 0.25s ease;
}

nav a:hover {
  color: var(--brand-light);
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  transition: width 0.25s ease;
}

nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
}

.section-title-left {
  text-align: left;
  margin-bottom: 25px;
}

.hero {
  min-height: 86vh;
  padding: 90px 8%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  color: #fff;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.08;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.hero p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  max-width: 650px;
  opacity: 0.95;
}

.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.badge {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  backdrop-filter: blur(6px);
}

.buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 15px 26px;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.btn-phone {
  background: #fff;
  color: #003b73;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.hero-card {
  background: var(--surface);
  color: var(--text);
  padding: 32px;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 15, 35, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-card h3 {
  color: #003b73;
  font-size: 26px;
  margin-bottom: 18px;
}

.hero-card ul {
  list-style: none;
  margin-bottom: 22px;
}

.hero-card li {
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
  font-weight: bold;
}

section {
  padding: 80px 8%;
}

.section-alt {
  background: var(--surface);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-title h2 {
  color: var(--brand);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
}

.section-title p {
  color: var(--muted);
  font-size: 1.1rem;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--surface);
  padding: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 59, 115, 0.06);
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin: 0;
  border-radius: 0;
}

.service-card h3 {
  color: var(--brand);
  margin-bottom: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  padding: 20px 22px 0;
}

.service-card p {
  color: #4b5563;
  line-height: 1.65;
  padding: 0 22px 22px;
  font-size: 0.98rem;
}

.about {
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.18);
}

.about h2 {
  color: #003b73;
  font-size: 36px;
  margin-bottom: 18px;
}

.about p {
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 18px;
  font-size: 17px;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 55%, #005fa3 100%);
  color: #fff;
}

.benefit {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 28px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  transition: transform 0.25s ease;
}

.benefit:hover {
  transform: translateY(-4px);
}

.benefit strong {
  display: block;
  font-size: 1.65rem;
  margin-bottom: 8px;
  color: #7ee8ff;
  font-weight: 800;
}

.areas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.area {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  font-weight: bold;
  color: #003b73;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.testimonials {
  background: #eaf6fb;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(0, 59, 115, 0.06);
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.gallery-card:focus {
  outline: 3px solid #00a8e8;
  outline-offset: 4px;
}

.gallery-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.gallery-content {
  padding: 22px;
}

.gallery-content h3 {
  color: #003b73;
  margin-bottom: 10px;
  font-size: 22px;
}

.gallery-content p {
  color: #4b5563;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 15, 35, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 3000;
}

.gallery-popup.active {
  display: flex;
}

.gallery-popup-content {
  position: relative;
  width: min(920px, 100%);
  max-height: 90vh;
  background: #fff;
  border-radius: 18px;
  overflow: auto;
}

.gallery-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #003b73;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
}

.gallery-popup-content img {
  width: 100%;
  max-height: 60vh;
  object-fit: cover;
  display: block;
}

.gallery-popup-text {
  padding: 22px;
}

.gallery-popup-text h3 {
  color: #003b73;
  margin-bottom: 10px;
}

.gallery-popup-text p {
  color: #4b5563;
  line-height: 1.6;
  white-space: pre-line;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: var(--surface);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 59, 115, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.testimonial-author strong {
  color: #003b73;
  font-size: 18px;
}

.testimonial-photo {
  width: 64px;
  height: 64px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 50%;
  display: block;
  border: 4px solid #00a8e8;
  flex: 0 0 64px;
}

.stars {
  font-size: 22px;
  margin-bottom: 12px;
}

.stars-filled {
  color: #f59e0b;
}

.stars-empty {
  color: #d1d5db;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  background: #fff;
}

form {
  background: #f5f8fb;
  padding: 28px;
  border-radius: 18px;
}

input, textarea, select {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 14px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--brand-light);
  box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.2);
}

textarea {
  height: 120px;
  resize: none;
}

button {
  width: 100%;
  background: #003b73;
  color: #fff;
  padding: 15px;
  border: none;
  border-radius: 10px;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  background: #005fa3;
}

.contact-info {
  padding: 28px;
  border-radius: 18px;
  background: #003b73;
  color: #fff;
}

.contact-info h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 16px;
  font-size: 17px;
  line-height: 1.6;
}

footer {
  background: #001f3f;
  color: #fff;
  text-align: center;
  padding: 30px 8%;
}

.float-budget {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 1998;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #003b73;
  color: #fff;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(0,0,0,0.26);
  border: 2px solid rgba(255,255,255,0.22);
  transition: 0.3s;
  width: auto;
  cursor: pointer;
}

.float-budget:hover {
  background: #00a8e8;
  color: #fff;
  transform: translateY(-3px);
}

.float-call {
  position: fixed;
  right: 22px;
  bottom: 94px;
  z-index: 1998;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--danger);
  color: #fff;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(220, 38, 38, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.22);
  transition: transform 0.25s ease, background 0.25s ease;
}

.float-call:hover {
  background: var(--danger-hover);
  color: #fff;
  transform: translateY(-3px);
}

.budget-box {
  position: fixed;
  right: 22px;
  bottom: 100px;
  width: 350px;
  max-width: calc(100vw - 44px);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.25);
  z-index: 1999;
  overflow: hidden;
  display: none;
}

.budget-box.active {
  display: block;
}

.budget-box-header {
  background: #003b73;
  color: #fff;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.budget-box-header button {
  width: auto;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  padding: 0 6px;
}

.budget-box form {
  padding: 18px;
  background: #fff;
}

.budget-box textarea {
  height: 100px;
}

.budget-box button[type="submit"] {
  background: #25d366;
}

.float-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 164px;
  width: 64px;
  height: 64px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  z-index: 2000;
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
  animation: pulse 1.5s infinite;
  border: none;
  cursor: pointer;
}

.whatsapp-box {
  position: fixed;
  right: 22px;
  bottom: 100px;
  width: 310px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.25);
  z-index: 1999;
  overflow: hidden;
  display: none;
}

.whatsapp-box.active {
  display: block;
}

.whatsapp-box-header {
  background: #25d366;
  color: #fff;
  padding: 16px;
  font-weight: bold;
  font-size: 18px;
}

.whatsapp-box form {
  padding: 18px;
  background: #fff;
}

.whatsapp-box textarea {
  height: 100px;
}

.whatsapp-box button {
  background: #25d366;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@media (max-width: 900px) {
  header {
    align-items: flex-start;
    padding: 14px 6%;
    flex-wrap: wrap;
  }

  .logo {
    font-size: 24px;
  }

  .logo img {
    max-width: 190px;
    max-height: 58px;
  }

  .menu-toggle {
    width: auto;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #003b73;
    color: #fff;
    padding: 10px 12px;
    border: 1px solid #003b73;
    border-radius: 10px;
    font-size: 14px;
    box-shadow: none;
    cursor: pointer;
  }

  .menu-lines {
    display: grid;
    gap: 4px;
  }

  .menu-lines span {
    width: 18px;
    height: 2px;
    display: block;
    background: #fff;
    border-radius: 999px;
  }

  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    padding: 12px;
    border-radius: 12px;
    background: #f5f8fb;
  }

  nav.open {
    display: flex;
  }

  nav a {
    margin: 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fff;
  }

  nav a:hover {
    background: #eaf6fb;
  }

  nav a::after {
    display: none;
  }

  .hero, .about, .contact {
    grid-template-columns: 1fr;
  }

  section {
    padding: 48px 5%;
  }

  .hero h1 {
    font-size: 36px;
  }

  .services, .benefits, .areas, .testimonial-grid, .gallery-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    border-radius: 14px;
  }

  .service-image {
    height: 130px;
  }

  .service-card h3 {
    padding: 16px 16px 0;
  }

  .service-card p {
    padding: 0 16px 16px;
  }

  .gallery-card img {
    height: 130px;
  }

  .gallery-content {
    padding: 16px;
  }

  .about img {
    max-height: 190px;
    object-fit: cover;
  }

  .gallery-popup {
    padding: 14px;
  }

  .float-budget {
    right: 18px;
    bottom: 38px;
    max-width: calc(100vw - 36px);
    padding: 12px 14px;
    font-size: 13px;
    text-align: center;
  }

  .float-call {
    right: 18px;
    bottom: 92px;
    padding: 12px 14px;
    font-size: 13px;
  }

  .float-whatsapp {
    right: 18px;
    bottom: 146px;
  }

  .budget-box {
    right: 12px;
    bottom: 146px;
  }

  .whatsapp-box {
    right: 12px;
    bottom: 146px;
  }
}

@media (max-width: 480px) {
  .service-image,
  .gallery-card img {
    height: 115px;
  }

  .service-card h3,
  .gallery-content h3 {
    font-size: 17px;
  }

  .service-card p,
  .gallery-content p {
    font-size: 13px;
    line-height: 1.45;
  }
}
