/* ==========================================================================
   DesbroZando - Design System & Modern Responsive Stylesheet
   ========================================================================== */

:root {
  /* Colors */
  --color-primary: #009344;
  --color-primary-dark: #007436;
  --color-accent: #61CE70;
  --color-secondary: #54595F;
  --color-text-dark: #333333;
  --color-text-muted: #7A7A7A;
  --color-bg-light: #F8F9FA;
  --color-bg-gray: #ECECEC;
  --color-bg-card: #DDDDDD;
  --color-white: #FFFFFF;
  --color-black: #000000;

  /* Typography */
  --font-primary: "Roboto", sans-serif;
  --font-secondary: "Roboto Slab", serif;
  --font-title: "Open Sans", sans-serif;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-smooth: 0.5s cubic-bezier(0.25, 1, 0.5, 1);

  /* Shadows & Glassmorphism */
  --shadow-subtle: 0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 10px 25px rgba(0, 0, 0, 0.12);
  --shadow-deep: 0 19px 26px 1px rgba(0, 0, 0, 0.45);
  --glass-bg: rgba(255, 255, 255, 0.14);
  --glass-border: rgba(255, 255, 255, 0.22);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text-dark);
  background-color: #FFFFFF;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast);
}

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

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: relative;
  background: #FFFFFF;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  max-width: 320px;
  height: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 500;
  border-radius: 15px;
  padding: 12px 28px;
  transition: all var(--transition-normal);
  text-align: center;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 147, 68, 0.35);
}

.btn-quote {
  font-size: 1.15rem;
  padding: 12px 30px;
  border-radius: 15px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 720px;
  background-image: url("assets/images/hero-bg.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  padding: 80px 0 90px 0;
  color: var(--color-white);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(270deg, rgba(0, 147, 68, 0.15) 0%, rgba(0, 0, 0, 0.88) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 50px;
  align-items: center;
}

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

.hero-mobile-logo {
  display: none;
  margin-bottom: 20px;
}

.hero-isotipo {
  max-width: 160px;
  height: auto;
}

.hero-title {
  font-family: var(--font-primary);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.12;
  color: #FFFFFF;
  margin-bottom: 24px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-family: var(--font-primary);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 36px;
  max-width: 95%;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.btn-hero-call {
  font-size: 1.45rem;
  font-weight: 600;
  padding: 14px 34px;
  border-radius: 15px;
}

.btn-hero-call:hover {
  animation: elementor-hang 1s ease infinite alternate;
}

@keyframes elementor-hang {
  0% { transform: translateY(-4px); }
  100% { transform: translateY(2px); }
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-primary);
  font-size: 1.45rem;
  font-weight: 600;
  padding: 14px 34px;
  border-radius: 30px;
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.hero-socials {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #FFFFFF;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.social-icon-btn:hover {
  transform: scale(1.12);
}

.whatsapp-btn {
  background-color: #25D366;
}

.instagram-btn {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.icon-svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Glassmorphism Quick Services Box */
.hero-glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 38px 34px;
  box-shadow: var(--shadow-deep);
  transform: translateY(0);
}

.glass-card-title {
  font-family: var(--font-primary);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 14px;
}

.glass-services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.glass-service-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.service-bullet-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.service-bullet-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--color-accent);
}

.service-bullet-text {
  font-family: var(--font-primary);
  font-size: 1.18rem;
  font-weight: 400;
  color: var(--color-white);
}

/* ==========================================================================
   Services Overview (4 Info Boxes)
   ========================================================================== */
.services-overview-section {
  padding: 85px 0 95px 0;
  background-color: #FFFFFF;
}

.section-header-wrap {
  margin-bottom: 50px;
}

.section-title-large {
  font-family: var(--font-primary);
  font-size: 3.6rem;
  font-weight: 300;
  color: var(--color-secondary);
  line-height: 1.18;
  margin-bottom: 22px;
}

.section-subtitle {
  font-family: var(--font-primary);
  font-size: 1.85rem;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.4;
  max-width: 95%;
}

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

.infobox-card {
  background-color: var(--color-bg-card);
  border-radius: 25px;
  padding: 36px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal);
}

.infobox-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
  background-color: #D3D3D3;
}

.infobox-icon-wrap {
  width: 70px;
  height: 70px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.infobox-icon {
  width: 48px;
  height: 48px;
  fill: var(--color-primary);
}

.infobox-title {
  font-family: var(--font-primary);
  font-size: 1.35rem;
  font-weight: 600;
  color: #4D4D4D;
  margin-bottom: 14px;
}

.infobox-desc {
  font-family: var(--font-primary);
  font-size: 1rem;
  color: #4D4D4D;
  line-height: 1.5;
}

/* ==========================================================================
   Company Values & Highlights Section
   ========================================================================== */
.company-section {
  background-color: #C5BFBF;
  padding: 70px 0 80px 0;
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 45px;
  align-items: center;
}

.rounded-card-image {
  border-radius: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.28);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-card-box {
  background-color: #FEFFF4;
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.company-title {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--color-secondary);
  line-height: 1.25;
  margin-bottom: 16px;
}

.company-description {
  font-family: var(--font-primary);
  font-size: 1.28rem;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin-bottom: 35px;
}

.highlight-words-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 16px;
  margin-bottom: 30px;
}

.highlight-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.highlight-text-wrapper {
  position: relative;
  display: inline-block;
  padding: 8px 18px;
}

.highlight-text {
  font-family: var(--font-primary);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-text-dark);
  position: relative;
  z-index: 2;
}

.highlight-circle-svg {
  position: absolute;
  top: -15%;
  left: -8%;
  width: 116%;
  height: 130%;
  z-index: 1;
  pointer-events: none;
}

.highlight-circle-svg path {
  fill: none;
  stroke: var(--color-secondary);
  stroke-width: 6px;
  stroke-dasharray: 800;
  stroke-dashoffset: 0;
  animation: drawCircle 6s ease-in-out infinite alternate;
}

@keyframes drawCircle {
  0% { stroke-dashoffset: 800; }
  40% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; }
}

.company-sub-image-wrap {
  margin-top: 10px;
}

.sub-image {
  max-height: 320px;
}

/* ==========================================================================
   Works / Portfolio Section
   ========================================================================== */
.works-section {
  padding: 90px 0 80px 0;
  background-color: #FFFFFF;
}

.works-header {
  text-align: center;
  margin-bottom: 45px;
}

.works-main-title {
  font-family: var(--font-primary);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.works-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 35px;
  align-items: stretch;
}

.gallery-feature-col {
  display: flex;
  height: 100%;
}

.gallery-img-vertical {
  width: 100%;
  height: 100%;
  min-height: 600px;
  max-height: 660px;
  object-fit: cover;
  border-radius: 25px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.gallery-img-vertical:hover,
.gallery-img-square:hover {
  transform: scale(1.02);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.gallery-quad-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  height: 100%;
}

.gallery-quad-item {
  height: 100%;
  min-height: 290px;
  max-height: 320px;
  overflow: hidden;
  border-radius: 25px;
}

.gallery-img-square {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.works-gallery-cta {
  display: flex;
  justify-content: center;
  margin: 15px 0 45px 0;
}

.btn-gallery {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 15px 36px;
  border-radius: 30px;
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(0, 147, 68, 0.3);
  transition: all var(--transition-normal);
}

.btn-gallery:hover {
  background-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 147, 68, 0.4);
}

.btn-icon-svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Categories Grid */
.work-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 24px;
  padding: 30px 0 20px 0;
  border-top: 1px solid #F0F0F0;
}

.category-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}

.category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.category-icon svg {
  width: 38px;
  height: 38px;
  fill: var(--color-primary);
}

.category-title {
  font-family: var(--font-primary);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--color-secondary);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  background-color: var(--color-bg-gray);
  padding: 85px 0 90px 0;
}

.faq-header {
  text-align: center;
  margin-bottom: 45px;
}

.faq-main-title {
  font-family: var(--font-primary);
  font-size: 3.2rem;
  font-weight: 300;
  color: var(--color-text-muted);
}

.faq-content-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 40px;
  align-items: flex-start;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid #EAEAEA;
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-button {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  background: #FFFFFF;
  gap: 16px;
  transition: background-color var(--transition-fast);
}

.faq-button:hover {
  background-color: #FAFAFA;
}

.faq-btn-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.faq-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-svg {
  width: 22px;
  height: 22px;
  fill: #FFFFFF;
}

.faq-question {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-primary);
}

.faq-toggle-icon {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.faq-minus {
  display: none;
}

.faq-item.active .faq-plus {
  display: none;
}

.faq-item.active .faq-minus {
  display: block;
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.faq-item.active .faq-panel {
  max-height: 350px;
}

.faq-panel-inner {
  padding: 0 24px 24px 84px;
  font-size: 1.05rem;
  color: #4A4A4A;
  line-height: 1.65;
}

.faq-link {
  text-decoration: underline;
  color: var(--color-primary);
  font-weight: 600;
}

.faq-image-col {
  height: 100%;
}

/* ==========================================================================
   Contact Banner Section
   ========================================================================== */
.contact-banner-section {
  padding: 60px 0;
  background: #FFFFFF;
}

.contact-banner-card {
  background: linear-gradient(135deg, #009344 0%, #006830 100%);
  border-radius: 28px;
  padding: 55px 50px;
  color: #FFFFFF;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 12px 30px rgba(0, 147, 68, 0.28);
}

.banner-title {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.banner-subtitle {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.45;
}

.contact-banner-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.btn-banner-call {
  background: #FFFFFF;
  color: var(--color-primary);
  font-size: 1.35rem;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 30px;
  min-width: 220px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-banner-call:hover {
  background-color: var(--color-accent);
  color: #FFFFFF;
  transform: scale(1.04);
}

.banner-email-link {
  font-size: 1.35rem;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: underline;
  margin-top: 4px;
}

/* ==========================================================================
   Contact Form Section
   ========================================================================== */
.contact-form-section {
  padding: 70px 0 95px 0;
  background-color: #FFFFFF;
}

.form-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 45px auto;
}

.form-title {
  font-family: var(--font-primary);
  font-size: 2.7rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.form-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.form-wrapper-card {
  max-width: 740px;
  margin: 0 auto;
  background: #FAFAFA;
  border: 1px solid #EFEFEF;
  border-radius: 24px;
  padding: 42px 40px;
  box-shadow: var(--shadow-card);
}

.native-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid #D0D0D0;
  border-radius: 12px;
  background-color: #FFFFFF;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 147, 68, 0.18);
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.btn-submit {
  font-size: 1.15rem;
  padding: 14px 34px;
  border-radius: 14px;
}

.btn-whatsapp-direct {
  background-color: #25D366;
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-whatsapp-direct:hover {
  background-color: #1EBE5D;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.icon-btn-svg {
  width: 20px;
  height: 20px;
  fill: #FFFFFF;
}

.form-alert {
  display: none;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 500;
  margin-top: 14px;
}

.form-alert-success {
  background-color: #E8F7EE;
  color: #0E7036;
  border: 1px solid #B8E4C9;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #FFFFFF;
  padding: 40px 0 50px 0;
  border-top: 1px solid #EEEEEE;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 30px;
  align-items: center;
}

.footer-logo {
  max-width: 260px;
  height: auto;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-nav-link {
  font-size: 1rem;
  color: var(--color-secondary);
  font-weight: 500;
}

.footer-nav-link:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.footer-social-icons {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}

.footer-ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.footer-wa {
  background-color: #25D366;
}

/* ==========================================================================
   Legal Pages Styles (Aviso Legal, Cookies, Privacidad)
   ========================================================================== */
.legal-page {
  background-color: #F8F9FA;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-main {
  flex: 1;
  padding: 50px 0 80px 0;
}

.legal-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 45px 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #EAEAEA;
}

.breadcrumb {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--color-primary);
  font-weight: 500;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.legal-title {
  font-family: var(--font-primary);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 2px solid #EEEEEE;
}

.legal-content {
  font-size: 1.08rem;
  color: #444444;
  line-height: 1.8;
}

.legal-content p {
  margin-bottom: 20px;
}

.legal-content h2 {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin: 32px 0 16px 0;
}

.legal-content h3 {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 600;
  color: #333333;
  margin: 24px 0 12px 0;
}

.legal-content ul {
  margin: 0 0 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-content li {
  line-height: 1.65;
}

.highlight-paragraph {
  background-color: #E8F7EE;
  border-left: 4px solid var(--color-primary);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  font-weight: 500;
  color: #0E7036;
}

.legal-id-box {
  background: #F4F6F5;
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
  border: 1px solid #E0E5E2;
}

.legal-id-box h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--color-primary);
}

.legal-id-box p {
  margin-bottom: 8px;
}

.legal-id-box p:last-child {
  margin-bottom: 0;
}

.legal-link {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 600;
}

.legal-link:hover {
  color: var(--color-accent);
}

.legal-back-row {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #EEEEEE;
}

.footer-nav-link.active {
  color: var(--color-primary);
  font-weight: 600;
}

/* ==========================================================================
   Gallery Page Styles & Lightbox
   ========================================================================== */
.gallery-page-main {
  padding: 50px 0 90px 0;
}

.gallery-hero-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 50px auto;
}

.gallery-page-title {
  font-family: var(--font-primary);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.gallery-page-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.full-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin-bottom: 60px;
}

.gallery-card-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  background: #FFFFFF;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  aspect-ratio: 4 / 3;
}

.gallery-card-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.gallery-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-card-item:hover .gallery-card-img {
  transform: scale(1.08);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #FFFFFF;
  transition: opacity var(--transition-normal);
}

.gallery-card-item:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-card-zoom-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  background: rgba(0, 147, 68, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition-normal);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.gallery-card-item:hover .gallery-card-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

.gallery-card-zoom-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.gallery-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  color: #FFFFFF;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: rgba(0, 0, 0, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-container {
  position: relative;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.9);
  transition: transform 0.25s ease, opacity 0.25s ease;
  user-select: none;
}

.lightbox-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 90vw;
  margin-top: 14px;
  padding: 0 10px;
  color: #FFFFFF;
}

.lightbox-caption {
  font-size: 1.15rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.lightbox-counter {
  font-size: 1rem;
  color: #8CE3A9;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 14px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.lightbox-close-btn {
  position: fixed;
  top: 25px;
  right: 25px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-size: 2.2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 100000;
  line-height: 1;
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.08);
}

.lightbox-nav-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-size: 2.5rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 100000;
  line-height: 1;
  user-select: none;
}

.lightbox-nav-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 147, 68, 0.5);
}

.lightbox-prev-btn {
  left: 25px;
}

.lightbox-next-btn {
  right: 25px;
}

@media (max-width: 768px) {
  .lightbox-nav-btn {
    width: 46px;
    height: 46px;
    font-size: 1.8rem;
  }
  .lightbox-prev-btn { left: 10px; }
  .lightbox-next-btn { right: 10px; }
  .lightbox-close-btn { top: 15px; right: 15px; width: 44px; height: 44px; font-size: 1.8rem; }
  .lightbox-info-bar { flex-direction: column; gap: 6px; text-align: center; }
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.2rem;
  }
  .section-title-large {
    font-size: 2.8rem;
  }
  .infobox-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .company-grid {
    grid-template-columns: 1fr;
  }
  .faq-content-grid {
    grid-template-columns: 1fr;
  }
  .faq-image-col {
    display: none;
  }
  .contact-banner-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .contact-banner-buttons {
    align-items: center;
  }
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-social-icons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .header-logo {
    max-width: 220px;
  }
  .btn-quote {
    font-size: 0.95rem;
    padding: 10px 18px;
  }
  .hero-section {
    padding: 50px 0 70px 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-mobile-logo {
    display: block;
    text-align: center;
  }
  .hero-isotipo {
    margin: 0 auto;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .hero-subtitle {
    font-size: 1.25rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .btn-hero-call,
  .btn-secondary {
    width: 100%;
    font-size: 1.2rem;
  }
  .hero-socials {
    justify-content: center;
  }
  .section-title-large {
    font-size: 2.1rem;
  }
  .section-subtitle {
    font-size: 1.2rem;
  }
  .infobox-grid {
    grid-template-columns: 1fr;
  }
  .works-main-title {
    font-size: 2.4rem;
  }
  .works-gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-img-vertical {
    min-height: 350px;
  }
  .work-categories-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .category-item {
    justify-content: flex-start;
  }
  .faq-main-title {
    font-size: 2.2rem;
  }
  .faq-question {
    font-size: 1.1rem;
  }
  .faq-panel-inner {
    padding: 0 16px 18px 16px;
  }
  .contact-banner-card {
    padding: 35px 24px;
  }
  .banner-title {
    font-size: 1.9rem;
  }
  .form-title {
    font-size: 2rem;
  }
  .form-wrapper-card {
    padding: 28px 20px;
  }
  .form-submit-row {
    flex-direction: column;
    width: 100%;
  }
  .btn-submit,
  .btn-whatsapp-direct {
    width: 100%;
  }
}
