
/* =========================================
   1. BRAND COLORS AND GLOBAL VARIABLES
========================================= */

:root {
  --navy: #073d78;
  --blue: #0868b5;
  --pink: #ec2996;
  --pale-pink: #fff0f8;
  --pale-blue: #edf7ff;
  --ink: #183b61;
  --muted: #64768a;
  --white: #fff;
  --shadow: 0 12px 30px rgba(8, 52, 95, .10);
  --radius: 16px;
}

/* =========================================
 2. GLOBAL RESET AND BASE STYLES
========================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}

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

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

/* Main content container */
.container {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}

/* =========================================
 3. TOP INFORMATION BAR
========================================= */

.topbar {
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  padding: 9px 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar span {
  margin-right: 18px;
}

.topbar i {
  color: #ff72c4;
  margin-right: 6px;
}

/* =========================================
 4. HEADER AND NAVIGATION
========================================= */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  box-shadow: 0 4px 18px #0b3c6810;
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

/* =========================================
 5. BRAND LOGO
========================================= */

/* Logo container and brand name */
/* Logo container and brand name */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.05;
  flex-shrink: 0;
}

/* Actual company logo image */
.brand-logo {
  display: block;
  width: 50px;
  height: 70px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Small tagline beneath the brand name */
.brand small {
  display: block;
  color: var(--pink);
  font-size: 10px;
  letter-spacing: 2px;
  margin-top: 5px;
}

/* =========================================
 6. NAVIGATION LINKS
========================================= */

.nav-links {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 12px;
  font-weight: 700;
}

.nav-links a {
  padding: 12px 0;
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--pink);
}

/* =========================================
 7. BUTTONS
========================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 30px;
  padding: 13px 21px;
  background: var(--pink);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 7px 18px #ec299638;
  transition: transform .2s, background .2s;
}

.btn:hover {
  background: #d91683;
  transform: translateY(-2px);
}

/* Transparent button variation */
.btn-outline {
  background: transparent;
  border: 1px solid #ffffff80;
  box-shadow: none;
}

/* =========================================
 8. LANGUAGE TOGGLE (ES / EN)
========================================= */


/* LANGUAGE TOGGLE — RIGHT SIDE */
.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 4px;
  border: 1px solid #d9dce3;
  border-radius: 30px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.language-toggle button {
  border: 0;
  background: transparent;
  color: #333;
  border-radius: 22px;
  padding: 7px 10px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

/* Highlight the selected language */
.language-toggle button.active {
  background: var(--navy);
  color: #fff;
}

/* =========================================
 9. MOBILE MENU BUTTON
========================================= */

.menu-btn {
  display: none;
  border: 0;
  background: var(--pale-blue);
  color: var(--navy);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 19px;
}

/* =========================================
 10. HERO / HOME SECTION
========================================= */

.hero {
  position: relative;
  min-height: 485px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

/* Hero background image and dark overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
      linear-gradient(
          90deg,
          rgba(4, 43, 91, .96) 0%,
          rgba(4, 61, 115, .86) 37%,
          rgba(4, 61, 115, .15) 75%
      ),
      url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1900&q=85')
      center/cover;
}

/* Hero text content */
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 70px 0;
  max-width: 600px;
}

/* Small section label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--pink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.eyebrow::after {
  content: "";
  width: 35px;
  height: 2px;
  background: currentColor;
}

/* Hero label color */
.hero .eyebrow {
  color: #ff79c8;
}

/* Main hero heading */
h1 {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.08;
  margin: 15px 0;
  letter-spacing: -1.8px;
}

h1 span {
  color: #ff65bc;
}

/* Hero description */
.hero p {
  max-width: 470px;
  color: #e4f1ff;
  font-size: 14px;
  line-height: 1.8;
}

/* Hero action buttons */
.hero-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 25px;
}

/* Trust indicators beneath hero buttons */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
}

.trust-row i {
  color: #ff77c5;
  margin-right: 7px;
  font-size: 15px;
}

/* =========================================
 11. GENERAL SECTION LAYOUT
========================================= */

.section {
  padding: 76px 0;
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 36px;
}

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

h2 {
  font-size: clamp(25px, 3vw, 36px);
  color: var(--navy);
  margin: 10px 0;
  letter-spacing: -.8px;
}

.section-head p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}

/* =========================================
 12. SERVICES SECTION
========================================= */

/* Service card grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Individual service card */
.service-card {
  border: 1px solid #e8eff6;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}

/* Lift card when hovered */
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px #073d781b;
}

/* Circular service icon */
.service-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 23px auto 12px;
  background: #ffe0f2;
  color: var(--pink);
  font-size: 25px;
  outline: 7px solid #fff4fa;
}

/* Service card text content */
.service-body {
  padding: 0 20px 20px;
  text-align: center;
}

.service-card h3 {
  font-size: 15px;
  margin: 15px 0 10px;
  color: var(--navy);
}

.service-card p {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  min-height: 56px;
}

/* Service information link */
.text-link {
  color: var(--pink);
  font-size: 11px;
  font-weight: 800;
}

/* Service card image */
.service-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  margin-top: 12px;
}

/* =========================================
 13. ABOUT US SECTION
========================================= */

.about {
  background: linear-gradient(100deg, #fff0f8, #f7fbff);
  padding: 0;
}

/* Two-column About Us layout */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

/* About Us background photo */
.about-photo {
  min-height: 390px;
  background:
      url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1100&q=85')
      center/cover;
}

/* About Us text container */
.about-copy {
  padding: 65px clamp(25px, 5vw, 75px);
}

.about-copy p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

/* About Us benefits grid */
.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 25px;
}

/* Individual benefit */
.benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
}

/* Benefit icon */
.benefit i {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--pink);
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
}

/* =========================================
 14. GALLERY SECTION
========================================= */

.gallery {
  background: var(--pale-blue);
}

/* Gallery image grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}

/* Individual gallery item */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* Gallery image */
.gallery-item img {
  width: 100%;
  height: 205px;
  object-fit: cover;
  transition: transform .4s;
}

/* Zoom image on hover */
.gallery-item:hover img {
  transform: scale(1.06);
}

/* Gallery image caption */
.gallery-item span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px;
  font-size: 10px;
  font-weight: 700;
}

/* =========================================
 15. REVIEWS SECTION
========================================= */

/* Reviews card grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Individual review card */
.review {
  background: #fff8fc;
  border: 1px solid #f9e1f0;
  padding: 23px;
  border-radius: 14px;
}

/* Star rating */
.stars {
  color: var(--pink);
  letter-spacing: 3px;
  font-size: 13px;
}

/* Review text */
.review p {
  color: #5b6e82;
  font-size: 11px;
  line-height: 1.8;
}

/* Reviewer name and profile */
.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-size: 11px;
  font-weight: 800;
}

/* Reviewer avatar */
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

/* Reviewer subtitle */
.reviewer small {
  display: block;
  color: var(--muted);
  font-weight: 500;
  margin-top: 4px;
}

/* =========================================
 16. CONTACT SECTION
========================================= */

.contact {
  color: #fff;
  background:
      linear-gradient(
          110deg,
          rgba(4, 48, 97, .96),
          rgba(5, 92, 153, .88)
      ),
      url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1800&q=85')
      center/cover;
}

/* Contact details and form layout */
.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.contact h2 {
  color: #fff;
}

/* Contact introduction text */
.contact-copy p {
  font-size: 12px;
  line-height: 1.8;
  color: #d7eaff;
}

/* Contact information list */
.contact-details {
  display: grid;
  gap: 16px;
  margin-top: 25px;
  font-size: 12px;
}

/* Contact information icons */
.contact-details i {
  color: #ff75c5;
  width: 22px;
}

/* =========================================
 17. CONTACT FORM
========================================= */

.contact-form {
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 20px 50px #001d3e50;
}

.contact-form h3 {
  margin: 0 0 20px;
  color: var(--navy);
}

/* Arrange form fields in two columns */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

/* Form field label and input */
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 10px;
  font-weight: 700;
}

/* Make a form field span both columns */
.field.full {
  grid-column: 1 / -1;
}

/* Shared styles for form controls */
input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #dce6ef;
  border-radius: 8px;
  background: #fbfdff;
  font: inherit;
  font-size: 11px;
  color: var(--ink);
  outline: none;
}

/* Form control focus effect */
input:focus,
select:focus,
textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px #ec299618;
}

/* Message textarea */
textarea {
  min-height: 85px;
  resize: vertical;
}

/* Full-width form submit button */
.contact-form .btn {
  width: 100%;
  margin-top: 15px;
}

/* =========================================
 18. FOOTER
========================================= */

footer {
  background: #062e5d;
  color: #c4d9ef;
  padding: 28px 0;
  font-size: 10px;
}

/* Footer content layout */
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* Footer navigation links */
.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a:hover {
  color: #ff75c5;
}

/* =========================================
 19. FLOATING WHATSAPP BUTTON
========================================= */

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #20c66b;
  font-size: 27px;
  box-shadow: 0 8px 25px #0003;
}

/* =========================================
 20. RESPONSIVE DESIGN: TABLETS
========================================= */

@media (max-width: 950px) {
  .nav-links {
      gap: 15px;
  }

  .nav > .btn {
      display: none;
  }

  .language-toggle {
      margin-left: auto;
  }

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

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

/* =========================================
 21. RESPONSIVE DESIGN: MOBILE
========================================= */

@media (max-width: 700px) {
  /* Reduce page width on smaller screens */
  .container {
      width: min(100% - 28px, 560px);
  }

  /* Center top information */
  .topbar .container {
      justify-content: center;
      text-align: center;
  }

  .topbar span {
      margin: 0 7px;
  }

  /* Compact navigation */
  .nav {
      min-height: 70px;
  }

  /* Show mobile menu button */
  .menu-btn {
      display: block;
  }

  /* Hide navigation links until menu opens */
  .nav-links {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      padding: 15px 24px 22px;
      background: #fff;
      box-shadow: 0 12px 20px #0b3c6815;
      flex-direction: column;
      align-items: stretch;
      gap: 3px;
  }

  /* Display the opened mobile menu */
  .nav-links.open {
      display: flex;
  }

  .nav-links a {
      padding: 11px 0;
      border-bottom: 1px solid #eef2f6;
  }

  /* Adjust hero section for mobile */
  .hero {
      min-height: 570px;
  }

  .hero::before {
      background:
          linear-gradient(
              90deg,
              rgba(4, 43, 91, .94),
              rgba(4, 61, 115, .62)
          ),
          url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1100&q=80')
          center/cover;
  }

  .hero-inner {
      padding: 55px 0;
  }

  .trust-row {
      gap: 13px;
  }

  /* Reduce section spacing */
  .section {
      padding: 55px 0;
  }

  /* Stack services and reviews vertically */
  .services-grid,
  .reviews-grid {
      grid-template-columns: 1fr;
  }

  .service-card p {
      min-height: auto;
  }

  /* Stack About and Contact sections */
  .about-grid,
  .contact-grid {
      grid-template-columns: 1fr;
      gap: 0;
  }

  .about-photo {
      min-height: 270px;
  }

  .about-copy {
      padding: 42px 25px;
  }

  /* Adjust gallery for mobile */
  .gallery-grid {
      grid-template-columns: 1fr 1fr;
      gap: 10px;
  }

  .gallery-item img {
      height: 145px;
  }

  /* Improve contact form spacing */
  .contact-grid {
      gap: 30px;
  }

  .contact-form {
      padding: 20px;
  }

  /* Stack form fields in one column */
  .form-grid {
      grid-template-columns: 1fr;
  }

  .field.full {
      grid-column: auto;
  }
}

/* =========================================
 22. ACCESSIBILITY: REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {
  /* Disable smooth scrolling for motion-sensitive users */
  html {
      scroll-behavior: auto;
  }

  /* Minimize animation and transition duration */
  *,
  *::before,
  *::after {
      animation-duration: .01ms !important;
      transition-duration: .01ms !important;
  }
}
