/* ==========================================================================
   Esthetic Work - Page-Specific Stylesheet (pages.css)
   Contains custom layouts for all 6 pages with pixel-perfect specifications.
   ========================================================================== */

/* --------------------------------------------------------------------------
   A. HOME PAGE (index.html)
   -------------------------------------------------------------------------- */

.hero-home {
  padding: 80px 0;
  background-color: var(--color-white);
  min-height: 1020px; /* adjusted to fit larger aligned image nicely */
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.hero-centered-container {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

.hero-logo-wrapper {
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
}

.hero-logo-main {
  width: 570px; /* Increased considerably from 379.75px (1.5x larger) */
  height: 336px; /* Scaled from 224px to preserve aspect ratio */
  display: block;
  object-fit: contain;
}

.hero-centered-container h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px; /* exact Figma font-size */
  font-weight: 700;
  line-height: 48px; /* exact Figma line-height */
  color: #00436F; /* primary blue matching figma */
  margin: 0 0 48px 0;
  letter-spacing: -0.5px;
}

.hero-image-card {
  width: 100%; /* Spans full container width to match the layout edges below */
  height: auto;
  aspect-ratio: 992/559.94; /* Fluid aspect ratio scaling */
  border-radius: 20px; /* pronounced rounding matching screenshot */
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08); /* premium shadow matching screenshot */
  display: flex;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Quiénes Somos Summary (Nuestra Identidad) */
.about-summary {
  padding: 100px 0;
  background-color: var(--color-white);
}

.about-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 70px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.about-left-col {
  display: flex;
  flex-direction: column;
}

.about-left-col .section-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 1.5px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.about-left-col h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  color: var(--color-dark-navy);
  margin-bottom: 24px;
}

.about-intro-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: var(--color-text-dark);
  margin-bottom: 40px;
}

/* Misión & Visión stacked cards */
.mv-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mv-item-card {
  background-color: #F6F3F2; /* very light warm grey/beige background */
  padding: 24px 32px;
  border-left: 4px solid var(--color-primary); /* Left accent bar */
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.01);
}

.mv-item-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-primary);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.mv-item-card p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  color: var(--color-text-dark);
  font-style: italic;
  margin: 0;
}

/* Right Column: Values 2x2 grid */
.about-right-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.values-2x2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.value-card-box {
  background-color: var(--color-white);
  border: 1px solid var(--color-border-gray);
  border-radius: 8px;
  padding: 32px 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.value-card-icon {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-img-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.value-card-box h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  color: var(--color-dark-navy);
  margin-bottom: 12px;
}

.value-card-box p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  color: var(--color-text-muted);
  margin: 0;
}

/* Cobertura Nacional solid blue card */
.cobertura-solid-card {
  background-color: var(--color-primary); /* solid dark blue */
  border-radius: 8px;
  padding: 32px 40px;
  box-shadow: 0 4px 15px rgba(0, 67, 111, 0.12);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cobertura-solid-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  color: var(--color-white);
  margin-bottom: 12px;
}

.cobertura-solid-card p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: var(--color-light-blue);
  margin: 0;
}

/* Responsive Overrides for About Summary */
@media (max-width: 1024px) {
  .about-grid-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .about-summary {
    padding: 60px 0;
  }
  .about-left-col h2 {
    font-size: 26px;
    line-height: 34px;
  }
  .value-card-box {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .values-2x2-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .mv-item-card {
    padding: 20px 24px;
  }
  .cobertura-solid-card {
    padding: 24px 28px;
  }
}

/* Legal / INVIMA */
.legal-section {
  padding: 80px 0;
  background-color: var(--color-white);
}

.legal-box {
  background: linear-gradient(rgba(26, 38, 57, 0.8), rgba(26, 38, 57, 0.8)), url('../assets/images/legal-bg.jpg') no-repeat center center;
  background-size: cover;
  padding: 50px 60px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.legal-content {
  display: flex;
  flex-direction: column;
}

.legal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.legal-icon {
  display: flex;
  align-items: center;
}

.legal-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: var(--color-white);
  margin: 0;
}

.legal-content p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.btn-invima {
  background-color: transparent;
  border: 1px solid var(--color-white);
  color: var(--color-white);
  flex-shrink: 0;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-invima:hover {
  background-color: var(--color-white);
  color: #1a2639; /* dark blue */
  border-color: var(--color-white);
}

/* Gallery Section */
.gallery-section {
  padding: 80px 0;
  background-color: var(--color-bg-light);
}

.gallery-section h2 {
  font-size: 28px;
  text-align: center;
  margin-bottom: 40px;
}

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

/* Carousel Component */
.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 25%;
  padding: 0 10px;
  box-sizing: border-box;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  z-index: 10;
  color: var(--color-primary);
}

.carousel-arrow:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 6px 16px rgba(0, 67, 111, 0.2);
}

.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background-color: #f5f5f5;
  color: #aaa;
  box-shadow: none;
}

.carousel-arrow svg {
  fill: currentColor;
}

.prev-arrow {
  left: -22px;
}

.next-arrow {
  right: -22px;
}

/* Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(0, 67, 111, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.active {
  background-color: var(--color-primary);
  transform: scale(1.2);
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.gallery-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/* Why Choose Us */
.why-choose-us {
  padding: 80px 0;
  background-color: var(--color-white);
  text-align: center;
}

.why-choose-us h2 {
  font-size: 28px;
  margin-bottom: 24px;
}

.choose-desc {
  font-size: 14px;
  line-height: 26px;
  color: var(--color-text-dark);
  max-width: 900px;
  margin: 0 auto;
}

/* Payment Methods */
.payment-methods {
  background-color: var(--color-bg-light);
  padding: 30px 0;
  border-top: 1px solid var(--color-border-gray);
  border-bottom: 1px solid var(--color-border-gray);
}

.payment-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.payment-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.5px;
  text-align: center;
}

.card-icons {
  display: flex;
  gap: 12px;
}

.card-icon-item {
  display: flex;
  align-items: center;
}

/* Contact Home Section */
.contact-section-home {
  padding: 100px 0;
  background-color: var(--color-white);
}

.contact-grid-home {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info-side h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.contact-intro-text {
  color: var(--color-text-muted);
  line-height: 24px;
  margin-bottom: 40px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 40px;
}

.contact-detail-item {
  display: flex;
  gap: 16px;
}

.detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-soft-blue);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.detail-text h5 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--color-primary);
}

.detail-text p {
  font-size: 13px;
  color: var(--color-text-dark);
  line-height: 18px;
}

.contact-social-icons {
  display: flex;
  gap: 16px;
}

.contact-social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border-gray);
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-social-icons a:hover {
  background-color: var(--color-soft-blue);
  border-color: var(--color-primary);
}

.case-form {
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border-gray);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border-gray);
  border-radius: 4px;
  background-color: var(--color-white);
  font-size: 13px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

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

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

/* Custom Checkbox */
.checkbox-group {
  margin-bottom: 24px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-box {
  width: 20px;
  height: 20px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border-gray);
  border-radius: 4px;
  display: inline-block;
  position: relative;
  transition: all 0.3s ease;
}

.custom-checkbox:checked ~ .checkbox-box {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.checkbox-box::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--color-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox:checked ~ .checkbox-box::after {
  display: block;
}

.checkbox-text {
  font-size: 13px;
  color: var(--color-text-dark);
  font-weight: 500;
}


/* --------------------------------------------------------------------------
   B. ABOUT PAGE (nosotros.html)
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   B. NOSOTROS PAGE (nosotros.html)
   -------------------------------------------------------------------------- */

.hero-about {
  padding: 100px 0 120px;
  background-color: var(--color-white);
}

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

.hero-about-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.trajectory-tag {
  background-color: #CFE4FF;
  color: #001D34;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: 4px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-about-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 60px;
  color: #00436F;
  margin-bottom: 24px;
}

.about-desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 29.25px;
  color: #5C5F61;
  margin-bottom: 40px;
}

.slider-indicators {
  display: flex;
  gap: 16px;
  align-items: center;
}

.indicator-active {
  width: 80px;
  height: 4px;
  background-color: #00436F;
  border-radius: 2px;
  display: block;
}

.indicator-inactive {
  width: 32px;
  height: 4px;
  background-color: #C1C7D0;
  border-radius: 2px;
  display: block;
}

/* Photo card wrapper on the right */
.profile-card-wrapper {
  position: relative;
  width: 504px;
  height: 891px;
  justify-self: end;
}

.photo-bg-offset {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 536px;
  height: 923px;
  background-color: #00436F;
  border-radius: 8px;
  z-index: 1;
  opacity: 0.15; /* Subdued overlay blur/shadow effect */
}

.profile-photo-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 504px;
  height: 891px;
  background-color: #F6F3F2;
  border-radius: 8px;
  overflow: visible; /* to allow floating card to overflow on the left */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

.profile-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* Floating name card */
.profile-name-card {
  position: absolute;
  bottom: 93px;
  left: -24px;
  width: 265px;
  height: 98px;
  background-color: var(--color-white);
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 24px;
  z-index: 3;
}

.profile-name-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: #00436F;
  margin-bottom: 4px;
}

.profile-name-card p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #5C5F61;
  margin: 0;
}

/* Leadership Section */
.leadership-section {
  padding: 100px 0;
  background-color: #F6F3F2; /* Exact background from Figma */
}

.leadership-grid {
  display: grid;
  grid-template-columns: 1.1fr 2.1fr;
  gap: 80px;
  align-items: flex-start;
}

.leadership-title h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 37.5px;
  color: #00436F;
  margin: 0;
}

.leadership-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.leadership-content p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 29.25px;
  color: #41474F;
  margin: 0;
}

/* Quality Policy Section */
.quality-policy {
  padding: 100px 0;
  background-color: var(--color-white);
}

.policy-container-box {
  background-color: #00436F; /* solid primary blue */
  border-radius: 12px;
  padding: 60px 80px;
  display: grid;
  grid-template-columns: 1.3fr 1fr; /* Make right side photo column wider */
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.policy-content {
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.policy-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.policy-icon {
  display: flex;
  align-items: center;
}

.policy-title h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 36px;
  color: var(--color-white);
  margin: 0;
}

.policy-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.policy-text p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 29.25px;
  color: var(--color-white);
  margin: 0;
}

.policy-graphic-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  width: 100%;
}

.policy-graphic-img {
  width: 100%;
  height: 280px; /* Aligned height */
  object-fit: cover; /* Crop nicely */
  border-radius: 16px; /* Smooth rounded corners */
  opacity: 1;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); /* Soft premium shadow */
}


/* --------------------------------------------------------------------------
   C. PRODUCTOS Y SERVICIOS PAGE (productos-y-servicios.html)
   -------------------------------------------------------------------------- */

.hero-services {
  padding: 100px 0;
  background-color: var(--color-bg-light);
  text-align: center;
}

.services-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 16px;
}

.hero-services h1 {
  font-size: 36px;
  margin-bottom: 24px;
}

.services-desc {
  font-size: 16px;
  line-height: 28px;
  color: var(--color-text-dark);
  max-width: 800px;
  margin: 0 auto;
}

/* Showcase grid & rows */
.services-showcase {
  padding: 100px 0;
  background-color: var(--color-white);
}

.big-services-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-bottom: 100px;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.service-image-card {
  height: 340px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-premium);
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.card-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.service-image-card:hover .card-bg-overlay {
  background-color: rgba(0, 0, 0, 0.05); /* Very subtle hover feedback tint */
}

.card-overlay-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
  text-align: center;
  z-index: 2;
  padding: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Overlays based on Figma colors */
.color-blue {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}
.color-blue .card-bg-overlay {
  background-color: rgba(13, 71, 161, 0.4);
}

.color-green {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}
.color-green .card-bg-overlay {
  background-color: rgba(46, 125, 50, 0.4);
}

.color-orange {
  background: linear-gradient(135deg, #f12711 0%, #f5af19 100%);
}
.color-orange .card-bg-overlay {
  background-color: rgba(230, 81, 0, 0.4);
}

.color-rust {
  background: linear-gradient(135deg, #870000 0%, #190A05 100%);
}
.color-rust .card-bg-overlay {
  background-color: rgba(191, 54, 12, 0.4);
}

.service-info-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.service-info-card h2 {
  font-size: 26px;
  margin-bottom: 20px;
}

.service-info-card p {
  font-size: 14px;
  line-height: 24px;
  color: var(--color-text-dark);
  margin-bottom: 24px;
}

.badge-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-primary);
  background-color: var(--color-soft-blue);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--color-border-gray);
}

/* Specialized Services Grid */
.services-grid-title {
  text-align: center;
  margin-bottom: 40px;
}

.services-grid-title h2 {
  font-size: 28px;
}

.services-grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.grid-service-card {
  border-radius: 8px;
  border: 1px solid var(--color-border-gray);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.grid-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 16px;
}

.grid-service-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 22px;
}

.grid-service-card p {
  font-size: 13px;
  line-height: 20px;
  color: var(--color-text-muted);
}

.grid-footer-text {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 24px;
  display: block;
}

/* Color schemes for specialized cards (Alternating Blue Theme) */
.card-purple {
  border-top: 4px solid var(--color-primary);
  background-color: var(--color-blue-overlay);
}
.card-purple .grid-tag,
.card-purple .grid-footer-text {
  color: var(--color-primary);
}

.card-orange-light {
  border-top: 4px solid var(--color-light-blue);
  background-color: var(--color-primary); /* Dark blue background */
}
.card-orange-light h3 {
  color: var(--color-white);
}
.card-orange-light p {
  color: rgba(255, 255, 255, 0.85);
}
.card-orange-light .grid-tag,
.card-orange-light .grid-footer-text {
  color: var(--color-light-blue);
}

.card-blue-light {
  border-top: 4px solid var(--color-primary);
  background-color: var(--color-blue-overlay);
}
.card-blue-light .grid-tag,
.card-blue-light .grid-footer-text {
  color: var(--color-primary);
}

.card-green-light {
  border-top: 4px solid var(--color-light-blue);
  background-color: var(--color-primary); /* Dark blue background */
}
.card-green-light h3 {
  color: var(--color-white);
}
.card-green-light p {
  color: rgba(255, 255, 255, 0.85);
}
.card-green-light .grid-tag,
.card-green-light .grid-footer-text {
  color: var(--color-light-blue);
}

/* CTA */
.services-cta {
  background-color: var(--color-bg-light);
  padding: 80px 0;
  text-align: center;
}

.services-cta-container h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.services-cta-container p {
  font-size: 14px;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 30px;
}


/* --------------------------------------------------------------------------
   D. TECNOLOGÍA PAGE (tecnologia.html)
   -------------------------------------------------------------------------- */

.hero-tech {
  padding: 100px 0;
  background-color: var(--color-white);
  text-align: center;
}

.tech-hero-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-soft-blue);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.hero-tech h1 {
  font-size: 36px;
  line-height: 48px;
  margin-bottom: 24px;
}

.tech-hero-desc {
  font-size: 16px;
  line-height: 28px;
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* Zigzag Layout */
.tech-zigzag {
  padding: 80px 0;
  background-color: var(--color-bg-light);
}

.zigzag-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.zigzag-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.zigzag-image-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.zigzag-img,
.tech-video {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.zigzag-text-card {
  display: flex;
  flex-direction: column;
}

.tech-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.zigzag-text-card h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.zigzag-text-card p {
  font-size: 14px;
  line-height: 24px;
  color: var(--color-text-dark);
  margin-bottom: 30px;
}

/* CEREC specific details */
.tech-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.tech-detail-box {
  background-color: var(--color-white);
  padding: 20px;
  border-radius: 6px;
  border: 1px solid var(--color-border-gray);
  display: flex;
  gap: 12px;
}

.detail-box-icon {
  flex-shrink: 0;
}

.tech-detail-box h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.tech-detail-box p {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 0;
  line-height: 16px;
}

/* 3 Shape Phibo badges */
.badge-tech-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.badge-tech {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  padding: 8px 20px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

/* E-Max bullets */
.feature-bullets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.bullet-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bullet-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--color-blue-overlay);
  display: flex;
  justify-content: center;
  align-items: center;
}

.bullet-text {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.5px;
}

/* Roland detailed card */
.detail-nested-card {
  background-color: var(--color-white);
  padding: 24px;
  border-radius: 6px;
  border-left: 4px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
}

.nested-card-icon {
  flex-shrink: 0;
}

.detail-nested-card h4 {
  font-size: 14px;
  margin-bottom: 8px;
}

.detail-nested-card p {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 0;
  line-height: 18px;
}

/* Icon classes */
.tech-detail-img-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

/* Tech CTA Banner (Figma Spec) */
.tech-cta-banner {
  background-color: #00436F; /* primary blue */
  padding: 100px 0;
  text-align: center;
}

.tech-cta-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tech-cta-container h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 40px;
  color: var(--color-white);
  margin-bottom: 24px;
}

.tech-cta-container p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 768px;
  margin: 0 auto 40px;
}

.tech-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.btn-secondary-light {
  background-color: #F0EDED;
  color: #5C5F61;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  padding: 16px 36px;
  border-radius: 4px;
  border: none;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.btn-secondary-light:hover {
  background-color: #e2e0e0;
}

.btn-outline-white {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  padding: 14px 34px;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

.btn-outline-white:hover {
  background-color: var(--color-white);
  color: #00436F;
}


/* --------------------------------------------------------------------------
   E. FLUJO DIGITAL PAGE (flujo-digital.html)
   -------------------------------------------------------------------------- */

.hero-flow {
  position: relative;
  height: 564px; /* exact Figma height */
  background-image: url('../assets/images/flujo-hero-paints.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  background-color: #FCF9F8;
  box-sizing: border-box;
}

.hero-flow-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-left: 20px; /* Align to the left matching default container grid */
  padding-right: 20px;
  box-sizing: border-box;
}

.hero-flow-content {
  max-width: 100%; /* Expand to full container width as indicated by red lines */
  margin: 0 auto;
}

.flow-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #00436F; /* primary blue */
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero-flow-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 60px; /* exact Figma font-size */
  font-weight: 700;
  line-height: 68px; /* line height matching Figma */
  color: #00436F; /* primary blue */
  margin: 0 0 20px 0;
}

.flow-desc-wrapper {
  border-left: 4px solid #00436F; /* primary blue vertical border block */
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px; /* Spacing between the two paragraphs */
}

.flow-desc-wrapper p {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px; /* exact Figma font-size */
  font-weight: 400;
  line-height: 32px; /* line height matching Figma */
  color: #41474F; /* dark grey text */
  margin: 0;
}

/* Vanguard Solutions */
.vanguard-solutions {
  padding: 100px 0;
  background-color: var(--color-white);
}

.vanguard-grid {
  display: grid;
  grid-template-columns: 504px 504px;
  gap: 64px;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.vanguard-image-card {
  width: 504px;
  height: 283.5px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.vanguard-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vanguard-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #1B1B1C;
  margin: 0 0 24px 0;
}

.vanguard-content p {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: #41474F;
  margin: 0;
}

/* Flow Definition */
.flow-definition {
  padding: 100px 0;
  background-color: #00436F; /* primary blue matching Figma */
  overflow: hidden;
}

.definition-container {
  max-width: 1200px;
  margin: 0 auto;
}

.flow-definition-grid {
  display: grid;
  grid-template-columns: 842px 303px;
  gap: 55px; /* sums exactly to 1200px container width! */
  align-items: end; /* align elements to the bottom line matching figma */
}

.flow-content-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-content-column .definition-header {
  max-width: 100%; /* Expand width to align with the cards below */
  text-align: center;
  margin-bottom: 40px;
}

.flow-content-column .definition-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  color: var(--color-white);
  margin: 0 0 24px 0;
}

.flow-content-column .definition-header p {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 32.5px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.flow-cards-row {
  display: flex;
  gap: 40px; /* figma card gaps */
  width: 100%;
  justify-content: center;
}

.flow-step-card.glass-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s ease, background 0.3s ease;
  width: 254px;
  height: 185px; /* height matching Figma exactly */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-align: center;
}

.flow-step-card.glass-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.12);
}

.step-card-icon-wrapper {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-step-card.glass-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: var(--color-white);
  margin: 0 0 8px 0;
}

.flow-step-card.glass-card p {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.flow-video-column {
  width: 303px;
}

.flow-video-card {
  position: relative;
  width: 303px;
  height: 436px; /* stands tall next to cards */
  border-radius: 24px; /* figma rounded corner */
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.flow-video-card .tech-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Scanner Trios 3Shape Advantages */
.scanner-trios-section {
  padding: 100px 0;
  background-color: var(--color-white);
}

.scanner-grid {
  display: grid;
  grid-template-columns: 504px 504px;
  gap: 64px;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.scanner-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 38px; /* Fixed overlapping lines by specifying comfortable height */
  color: #1B1B1C;
  margin: 0 0 20px 0;
  letter-spacing: 0.5px;
  font-variant-ligatures: none;
}

.scanner-intro {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: #41474F;
  margin-bottom: 24px;
}

.advantages-cards-grid {
  display: grid;
  grid-template-columns: 244px 244px;
  gap: 16px;
  width: 504px;
}

.adv-card {
  background-color: #F0EDED;
  border-left: 4px solid #00436F;
  padding: 16px;
  border-radius: 6px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-sizing: border-box;
}

.adv-card-h92 {
  height: 92px;
}

.adv-card-h72 {
  height: 72px;
}

.adv-card-icon {
  color: #00436F;
  font-size: 16px;
  line-weight: 1;
  font-weight: bold;
  margin-top: 2px;
}

.adv-card-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #1B1B1C;
  margin: 0;
}

.scanner-image-card {
  width: 504px;
  height: 335.67px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background-color: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

.scanner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

@media (max-width: 991px) {
  .vanguard-grid,
  .scanner-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    justify-content: center;
    justify-items: center;
  }
  .vanguard-image-card,
  .scanner-image-card {
    width: 100%;
    max-width: 504px;
    height: auto;
    margin: 0 auto;
  }
  .vanguard-image-card {
    aspect-ratio: 504/283.5;
  }
  .scanner-image-card {
    aspect-ratio: 504/335.67;
    order: 1;
  }
  .vanguard-content,
  .scanner-content {
    width: 100%;
    max-width: 504px;
    margin: 0 auto;
  }
  .scanner-content {
    order: 2;
  }
  .advantages-cards-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 504px;
    margin: 0 auto;
  }
  .adv-card {
    height: auto !important;
    min-height: 60px;
  }
  .flow-definition-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    justify-content: center;
    justify-items: center;
  }
  .flow-content-column {
    width: 100%;
    order: 1;
  }
  .flow-content-column .definition-header {
    width: 100%;
    max-width: 504px;
    margin: 0 auto 30px auto;
  }
  .flow-cards-row {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .flow-step-card.glass-card {
    width: 100%;
    max-width: 320px;
    height: auto;
    min-height: 160px;
    padding: 20px;
  }
  .flow-video-column {
    width: 100%;
    max-width: 303px;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    order: 2;
  }
  .flow-video-card {
    width: 100%;
    max-width: 303px;
    height: 436px;
  }
}


/* --------------------------------------------------------------------------
   F. CONTACT PAGE (contacto.html)
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   F. CONTACT PAGE (contacto.html)
   -------------------------------------------------------------------------- */

.hero-contact {
  position: relative;
  height: 400px; /* exact Figma height */
  background-image: url('../assets/images/contacto-pattern.png');
  background-size: cover;
  background-position: center;
  background-color: #1E5B8C; /* figma overlay bg start */
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.hero-contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #00436F; /* figma overlay */
  opacity: 0.85; /* transparent overlay blending with pattern background */
  z-index: 1;
}

.hero-contact-container {
  max-width: 1200px;
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
}

.hero-contact-content {
  max-width: 327.25px; /* exact Figma width */
  margin: 0 auto;
}

.contact-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 400; /* weight 400 matching figma */
  color: #FFFFFF;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero-contact-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 60px; /* exact Figma font-size */
  font-weight: 700;
  line-height: 60px;
  color: #FFFFFF;
  margin: 0;
}

/* Contact Main Section */
.contact-main-section {
  padding: 100px 0;
  background-color: #FCF9F8; /* matches figma outer background or general page bg */
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 409.33px 598.66px; /* exact Figma column widths */
  gap: 64px; /* exact Figma gap */
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
}

.contact-info-col h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: #00436F;
  margin: 0 0 24px 0;
}

.loc-description {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: #41474F;
  margin: 0 0 40px 0;
}

.info-blocks-list {
  display: flex;
  flex-direction: column;
  gap: 32px; /* figma spacing between blocks is around 32px */
}

.info-block-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.block-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px; /* figma box is a rounded square */
  background-color: #F0EDED; /* figma bg color */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.block-text h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1B1B1C;
  margin: 0 0 8px 0;
  letter-spacing: 0.5px;
}

.block-text p {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #41474F;
  margin: 0;
}

.block-text p a {
  color: #41474F;
  text-decoration: none;
  transition: color 0.3s ease;
}

.block-text p a:hover {
  color: #00436F;
}

/* Siguenos (Figma Style Border & Alignment) */
.siguenos-section {
  border-top: 1px solid #E0E0E0;
  padding-top: 32px;
  margin-top: 50px;
}

.siguenos-section h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1B1B1C;
  margin: 0 0 20px 0;
  letter-spacing: 1px;
}

.instagram-wrapper {
  display: flex;
  gap: 16px;
}

.instagram-link {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: #F0EDED;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-sizing: border-box;
}

.instagram-link svg {
  fill: #00436F;
  transition: fill 0.3s ease;
}

.instagram-link:hover {
  transform: translateY(-2px);
  background-color: #00436F;
}

.instagram-link:hover svg {
  fill: #FFFFFF;
}

/* Contact Form Column */
.contact-form-col {
  background-color: #FFFFFF; /* figma Bg */
  border-radius: 12px;
  padding: 48px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* figma shadow placeholder */
  box-sizing: border-box;
}

.contact-form-col h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: #00436F;
  margin: 0 0 32px 0;
}

.direct-contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 16.5px;
  color: #727780;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  height: 51px; /* figma input height */
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 0 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #1B1B1C;
  background-color: #FFFFFF;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group textarea {
  height: 146px; /* figma textarea height */
  padding: 16px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #6B7280;
  opacity: 1;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00436F;
  box-shadow: 0 0 0 3px rgba(0, 67, 111, 0.1);
}

/* Submit Button */
.send-msg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 238px; /* figma button width */
  height: 56px; /* figma button height */
  background-color: #00436F;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.send-msg-btn:hover {
  background-color: #002d4d;
  transform: translateY(-2px);
}

.btn-arrow-icon {
  fill: #FFFFFF;
  transition: transform 0.3s ease;
}

.send-msg-btn:hover .btn-arrow-icon {
  transform: translateX(4px);
}


/* --------------------------------------------------------------------------
   G. RESPONSIVE ADAPTATIONS (pages.css)
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .hero-home {
    min-height: auto;
    padding: 60px 0;
  }
  .hero-logo-main {
    max-width: 280px;
    height: auto;
  }
  .hero-centered-container h1 {
    font-size: 32px;
    line-height: 38px;
    margin-bottom: 30px;
  }
  .hero-image-card {
    width: 100%;
    height: auto;
    aspect-ratio: 992/559.94;
    border-radius: 12px;
  }
  .hero-about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .profile-card-wrapper {
    width: 100%;
    max-width: 480px;
    height: auto;
    aspect-ratio: 504 / 891;
    justify-self: center;
  }
  .photo-bg-offset {
    display: none;
  }
  .profile-photo-card {
    position: relative;
    width: 100%;
    height: 100%;
  }
  .profile-name-card {
    left: 20px;
    bottom: 20px;
  }
  .policy-container-box {
    grid-template-columns: 1fr;
    padding: 48px 32px;
    gap: 40px;
  }
  .policy-graphic-wrapper {
    max-width: 450px;
    margin: 0 auto;
  }
  .policy-title {
    justify-content: center;
  }
  .service-row {
    grid-template-columns: 1fr;
    gap: 30px;
    justify-items: center;
  }
  .service-row.image-right .service-info-card {
    order: 2;
  }
  .service-row.image-right .service-image-card {
    order: 1;
  }
  .service-image-card,
  .service-info-card {
    width: 100%;
    max-width: 536px;
    margin: 0 auto;
  }
  .service-image-card {
    height: auto;
    aspect-ratio: 536/350;
  }
  .services-grid-container {
    grid-template-columns: 1fr 1fr;
  }
  .zigzag-row {
    grid-template-columns: 1fr;
    gap: 30px;
    justify-items: center;
  }
  .zigzag-row.img-left-text-right .zigzag-image-card,
  .zigzag-row.img-right-text-left .zigzag-image-card {
    order: 1;
  }
  .zigzag-row.img-left-text-right .zigzag-text-card,
  .zigzag-row.img-right-text-left .zigzag-text-card {
    order: 2;
  }
  .zigzag-image-card,
  .zigzag-text-card {
    width: 100%;
    max-width: 504px;
    margin: 0 auto;
  }
  .zigzag-image-card {
    height: auto;
    aspect-ratio: 504/335.67;
  }
  .zigzag-img {
    height: auto;
  }
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .flow-definition-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    justify-items: center;
  }
  .flow-video-column {
    order: 2;
    max-width: 500px;
    margin: 0 auto;
  }
  .flow-content-column {
    order: 1;
  }
  .scanner-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    justify-items: center;
  }
  .scanner-image-card {
    order: 1;
    max-width: 500px;
    margin: 0 auto;
  }
  .scanner-content {
    order: 2;
    margin: 0 auto;
  }
  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .contact-grid-home {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 32px;
    line-height: 42px;
  }
  .about-summary {
    padding: 60px 0;
  }
  .about-summary h2 {
    font-size: 26px;
  }
  .mv-grid {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cobertura-banner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .legal-box {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  .legal-header {
    flex-direction: column;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-section-home {
    padding: 60px 0;
  }
  .contact-info-side h2 {
    font-size: 26px;
    text-align: center;
  }
  .contact-intro-text {
    text-align: center;
  }
  .contact-social-icons {
    justify-content: center;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero-about-content h1 {
    font-size: 28px;
    line-height: 38px;
  }
  .leadership-section {
    padding: 60px 0;
  }
  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .leadership-title h2 {
    font-size: 24px;
    text-align: center;
  }
  .quality-policy {
    padding: 60px 0;
  }
  .policy-title h2 {
    font-size: 24px;
  }
  .hero-services h1 {
    font-size: 28px;
  }
  .services-showcase {
    padding: 60px 0;
  }
  .service-info-card h2 {
    font-size: 22px;
  }
  .services-grid-container {
    grid-template-columns: 1fr;
  }
  .hero-tech h1 {
    font-size: 28px;
    line-height: 38px;
  }
  .tech-zigzag {
    padding: 60px 0;
  }
  .zigzag-text-card h2 {
    font-size: 22px;
  }
  .tech-details-grid {
    grid-template-columns: 1fr;
  }
  .feature-bullets-grid {
    grid-template-columns: 1fr;
  }
  .tech-cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .hero-flow {
    height: auto;
    padding: 80px 0 60px;
  }
  .hero-flow-content h1 {
    font-size: 28px;
    line-height: 38px;
  }
  .vanguard-solutions {
    padding: 60px 0;
  }
  .flow-definition {
    padding: 60px 0;
  }
  .scanner-trios-section {
    padding: 60px 0;
  }
  .advantages-list {
    grid-template-columns: 1fr;
  }
  .hero-contact-content h1 {
    font-size: 32px;
  }
  .contact-main-section {
    padding: 60px 0;
  }
  .contact-info-col h2 {
    font-size: 26px;
    text-align: left;
  }
  .loc-description {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .case-form {
    padding: 24px 16px;
  }
  .contact-form-col {
    padding: 24px 16px;
  }
  .profile-card-wrapper {
    height: 280px;
    aspect-ratio: unset;
  }
}

/* Responsive adjustments for Carousel */
@media (max-width: 1024px) {
  .carousel-slide {
    flex: 0 0 33.3333%; /* 3 slides visible */
  }
}

@media (max-width: 768px) {
  .carousel-slide {
    flex: 0 0 50%; /* 2 slides visible */
  }
  .carousel-arrow {
    width: 38px;
    height: 38px;
  }
  .prev-arrow {
    left: -10px;
  }
  .next-arrow {
    right: -10px;
  }
}

@media (max-width: 480px) {
  .carousel-slide {
    flex: 0 0 100%; /* 1 slide visible */
  }
  .prev-arrow {
    left: -5px;
  }
  .next-arrow {
    right: -5px;
  }
}

/* --------------------------------------------------------------------------
   G. PRIVACY POLICY PAGE (politicas-de-privacidad.html) - Exact Figma Replica
   -------------------------------------------------------------------------- */

.hero-privacy {
  background-color: var(--color-white);
  padding: 80px 0 40px 0;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-privacy-content {
  max-width: 1000px;
  margin: 0 auto;
}

.hero-privacy-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 40px; /* Exact Figma size */
  font-weight: 700;
  color: #00436F; /* primary blue */
  margin-bottom: 16px;
  line-height: 48px;
}

.hero-privacy-content p {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #41474F; /* dark gray fills */
  line-height: 24px;
}

.privacy-content-section {
  padding: 60px 0 100px 0;
  background-color: var(--color-white);
}

.privacy-container {
  max-width: 1000px; /* Match Figma active width 999px */
  margin: 0 auto;
}

.privacy-article {
  display: flex;
  flex-direction: column;
  gap: 60px; /* spacing between major sections */
}

.privacy-card-section {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.privacy-tag-overlay {
  display: inline-flex;
  align-self: flex-start;
  background-color: #CFE4FF; /* light blue */
  color: #00436F; /* primary blue */
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.privacy-card-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px; /* Exact Figma h2 size */
  font-weight: 700;
  color: #00436F;
  margin: 0;
  line-height: 32px;
}

.privacy-card-section > p {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #41474F;
  margin: 0;
}

.privacy-card-section h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px; /* Exact Figma h3 size */
  font-weight: 600;
  color: #1B1B1C; /* Heading 3 dark color */
  margin: 24px 0 8px 0;
}

/* Bullet lists matching figma */
.privacy-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 16px; /* Figma list itemSpacing=16px */
}

.privacy-list li {
  position: relative;
  padding-left: 24px; /* Figma paddingLeft=24px */
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #41474F;
}

.privacy-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #00436F;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}

/* Accent Card for Responsable */
.privacy-responsable-card {
  background-color: #F0EDED; /* rgb(240, 237, 237) */
  border-left: 4px solid #00436F; /* Vertical Border */
  padding: 24px 32px;
  border-radius: 8px;
  margin-top: 32px;
}

.privacy-responsable-card h3 {
  margin-top: 0;
  margin-bottom: 24px;
}

.responsable-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 32px; /* grid rows and columns gaps */
}

.responsable-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.responsable-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #41474F;
}

.responsable-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #41474F;
  line-height: 1.5;
}

.responsable-value a {
  color: #00436F;
  text-decoration: none;
  font-weight: 600;
}

.responsable-value a:hover {
  text-decoration: underline;
}

/* Responsive adjustments for Privacy page */
@media (max-width: 1024px) {
  .hero-privacy, .privacy-content-section {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 768px) {
  .hero-privacy-content h1 {
    font-size: 32px;
    line-height: 38px;
  }
  .responsable-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .privacy-article {
    gap: 48px;
  }
}
