/* =========================================
   VARIABLES & RESETS (Luminosos y Cálidos, en VERDE)
   ========================================= */
:root {
   --bg-base: #FAFAFA;
   --bg-surface: #FFFFFF;
   --bg-surface-elevated: #F4F6F4;
   --primary: #1F3622;
   --accent: #3A5A40;
   /* Verde Oliva / Restaurante */
   --accent-hover: #29422C;
   --text-primary: #2B2B2B;
   --text-secondary: #5A5A5A;
   --border: #E5E5E5;
   --font-sans: 'Inter', sans-serif;
   --font-serif: 'Playfair Display', serif;
   --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

html {
   scroll-behavior: smooth;
}

body {
   background-color: var(--bg-base);
   color: var(--text-primary);
   font-family: var(--font-sans);
   line-height: 1.6;
   overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
   font-family: var(--font-serif);
   font-weight: 500;
   line-height: 1.2;
   color: var(--text-primary);
}

h1 em,
h2 em {
   font-style: italic;
   color: var(--accent);
}

a {
   text-decoration: none;
   color: inherit;
   transition: var(--transition);
}

ul {
   list-style: none;
}

.container {
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 2rem;
}

.text-center {
   text-align: center;
}

.grid {
   display: grid;
   gap: 2rem;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   padding: 0.8rem 1.8rem;
   border-radius: 4px;
   font-size: 0.95rem;
   font-weight: 500;
   font-family: var(--font-sans);
   cursor: pointer;
   transition: var(--transition);
   border: 1px solid transparent;
}

.btn-primary {
   background-color: var(--accent);
   color: #FFFFFF;
}

.btn-primary:hover {
   background-color: var(--accent-hover);
   transform: translateY(-2px);
   box-shadow: 0 4px 20px rgba(58, 90, 64, 0.3);
}

.btn-secondary {
   background-color: var(--bg-surface-elevated);
   color: var(--text-primary);
   border: 1px solid var(--border);
}

.btn-secondary:hover {
   background-color: #E2E8E4;
   transform: translateY(-2px);
}

.btn-outline {
   background-color: transparent;
   border-color: var(--text-primary);
   color: var(--text-primary);
}

.btn-outline:hover {
   border-color: var(--accent);
   color: var(--accent);
}

.btn-sm {
   padding: 0.5rem 1rem;
   font-size: 0.85rem;
}

.btn-full {
   width: 100%;
   margin-top: 1.5rem;
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   z-index: 1000;
   padding: 1rem 0;
   transition: var(--transition);
   
   /* Fondo Dinámico y de Cristal Premium */
   background: linear-gradient(270deg, rgba(58, 90, 64, 0.88), rgba(35, 54, 38, 0.88), rgba(72, 114, 80, 0.88));
   background-size: 400% 400%;
   animation: navbarGradient 15s ease infinite;

   backdrop-filter: blur(12px);
   -webkit-backdrop-filter: blur(12px); /* Compatibilidad Dispositivos Apple */
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

@keyframes navbarGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.navbar.scrolled {
   padding: 0.8rem 0;
}

.nav-container {
   display: flex;
   justify-content: space-between;
   align-items: center;
   gap: 1.2rem;
   min-height: 56px;
}

.logo {
   font-family: var(--font-serif);
   font-size: 1.6rem;
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 1.5px;
}

.logo span {
   color: var(--accent);
}

.navbar .logo, 
.navbar .logo span {
   color: #FFFFFF;
}

.navbar .logo {
   margin-right: 1.3rem;
   flex-shrink: 0;
}

.nav-links {
   display: flex;
   gap: 2.35rem;
   align-items: center;
   flex-wrap: nowrap;
}

.nav-actions {
   display: inline-flex;
   align-items: center;
   gap: 0.55rem;
   margin-left: auto;
}

.nav-links a {
   font-size: 0.9rem;
   color: var(--text-secondary);
   font-weight: 500;
}

.navbar .nav-links a {
   color: #FFFFFF;
   font-family: Arial, Helvetica, sans-serif;
   font-weight: bold;
   text-transform: uppercase;
   font-size: 0.86rem;
   letter-spacing: 1.05px;
   position: relative;
   display: inline-flex;
   align-items: center;
   line-height: 1.1;
   white-space: nowrap;
   padding: 0.32rem 0;
   transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
   transform-origin: center bottom;
}

/* Efecto hover: crecer texto suavemente */
.navbar .nav-links a:hover,
.navbar .nav-links a.active {
   transform: scale(1.08);
}

/* Pseudo-elemento para la línea animada desde el centro */
.navbar .nav-links a::after {
   content: '';
   position: absolute;
   bottom: -3px;
   left: 50%;
   transform: translateX(-50%);
   width: 0%;
   height: 2px;
   background-color: #FFFFFF;
   transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar .nav-links a:hover::after,
.navbar .nav-links a.active::after {
   width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
   color: var(--accent);
}

.navbar .nav-links a:hover,
.navbar .nav-links a.active {
   color: #FFFFFF; /* Mantiene el blanco para resaltar con la línea inferior */
}

.navbar .btn-outline {
   background-color: #FFFFFF !important;
   color: var(--accent) !important;
   border-color: #FFFFFF !important;
}

.navbar .btn-outline:hover {
   background-color: transparent !important;
   color: #FFFFFF !important;
}

.lang-btn {
   border: none;
   background: transparent;
   color: rgba(255, 255, 255, 0.86);
   font-family: var(--font-sans);
   font-size: 0.68rem;
   font-weight: 700;
   letter-spacing: 0.05em;
   text-transform: uppercase;
   padding: 0.28rem 0.5rem;
   border-radius: 999px;
   cursor: pointer;
   transition: var(--transition);
}

.lang-btn:hover {
   color: #FFFFFF;
   background: rgba(255, 255, 255, 0.16);
}

.lang-btn.active {
   color: var(--accent);
   background: #FFFFFF;
}

.nav-mobile-lang {
   display: none;
}

.nav-about-link {
   border: 1px solid rgba(255, 255, 255, 0.52);
   border-radius: 999px;
   padding: 0.24rem 0.56rem !important;
   font-size: 0.78rem !important;
   letter-spacing: 0.09em !important;
   line-height: 1.1 !important;
}

.navbar .nav-links a.nav-about-link::after {
   display: none;
}

.navbar .nav-links a.nav-about-link:hover,
.navbar .nav-links a.nav-about-link.active {
   transform: none;
   background: rgba(255, 255, 255, 0.12);
}

.lang-menu {
   position: relative;
}

.lang-menu-toggle {
   border: 1px solid rgba(255, 255, 255, 0.42);
   border-radius: 999px;
   background: rgba(14, 27, 17, 0.2);
   color: #ffffff;
   font-family: var(--font-sans);
   font-size: 0.76rem;
   font-weight: 700;
   letter-spacing: 0.05em;
   text-transform: uppercase;
   padding: 0.42rem 0.68rem;
   display: inline-flex;
   align-items: center;
   gap: 0.55rem;
   cursor: pointer;
}

.lang-current {
   background: rgba(255, 255, 255, 0.18);
   border: 1px solid rgba(255, 255, 255, 0.38);
   border-radius: 999px;
   padding: 0.12rem 0.4rem;
   font-size: 0.68rem;
}

.lang-menu-list {
   position: absolute;
   right: 0;
   top: calc(100% + 0.45rem);
   display: none;
   min-width: 148px;
   background: #ffffff;
   border: 1px solid #d9dfda;
   border-radius: 12px;
   box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
   padding: 0.35rem;
   z-index: 2100;
}

.lang-menu.open .lang-menu-list {
   display: flex;
   flex-direction: column;
   gap: 0.18rem;
}

.lang-menu .lang-btn {
   width: 100%;
   text-align: left;
   color: var(--text-primary);
   border-radius: 8px;
   font-size: 0.82rem;
   font-weight: 600;
   letter-spacing: 0.02em;
   padding: 0.5rem 0.55rem;
   text-transform: none;
}

.lang-menu .lang-btn:hover {
   color: var(--accent);
   background: #edf3ee;
}

.lang-menu .lang-btn.active {
   color: var(--accent);
   background: #e7f1ea;
}

.nav-mobile-lang .nav-language {
   display: inline-flex;
   align-items: center;
   gap: 0.18rem;
   padding: 0.16rem;
   border-radius: 999px;
   border: 1px solid rgba(255, 255, 255, 0.32);
   background: rgba(14, 27, 17, 0.18);
}

.nav-mobile-lang-label {
   display: block;
   color: #cbd6ce;
   font-size: 0.78rem;
   letter-spacing: 0.03em;
   margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
   .nav-links {
      display: none;
   }
}

/* =========================================
   HERO / INDEX - HIGH CONTRAST
   ========================================= */
.hero {
   min-height: 85vh;
   display: flex;
   align-items: center;
   position: relative;
   padding-top: 80px;
}

.hero-bg {
   background: var(--bg-surface);
   overflow: hidden;
}

.hero-marquee-wrapper {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   display: flex;
   flex-direction: column;
   z-index: 1;
}

.marquee-row {
   flex: 1;
   display: flex;
   width: 100%;
   overflow: hidden;
}

.marquee-track {
   display: flex;
   width: max-content;
   will-change: transform;
}

.marquee-track img {
   height: 50vh;
   width: 25vw;
   min-width: 350px;
   object-fit: cover;
   opacity: 0.9;
}

.track-left {
   animation: slideLeft 60s linear infinite;
}

.track-right {
   animation: slideRight 60s linear infinite;
}

@keyframes slideLeft {
   0% { transform: translateX(0); }
   100% { transform: translateX(-50%); }
}

@keyframes slideRight {
   0% { transform: translateX(-50%); }
   100% { transform: translateX(0); }
}

.hero-overlay {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.65);
   z-index: 2;
}

/* Sombra un pelín más intensa (0.55) para que el texto estalle */
.hero-bg::before {
   display: none;
}

.hero .container {
   position: relative;
   z-index: 5;
   margin: 0 auto;
   max-width: 800px;
}

/* Texto gigante con sombras super profundas para legibilidad extrema */
.hero-bg h1 {
   color: #FFFFFF !important;
   font-weight: 700;
   font-size: clamp(3.2rem, 6.5vw, 5.2rem);
   text-shadow: 0 6px 30px rgba(0, 0, 0, 0.9);
   line-height: 1.1;
   margin-bottom: 1.5rem;
}

.hero-bg p.subtitle {
   color: #FFFFFF !important;
   font-size: 1.25rem;
   font-weight: 500;
   text-shadow: 0 4px 20px rgba(0, 0, 0, 0.95);
}

.hero-bg h1 em {
   color: #FFFFFF !important;
   font-style: italic;
}

.hero-bg .badge {
   background-color: var(--accent);
   color: #FFFFFF;
   border: none;
   font-weight: 700;
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-hero {
   padding: 150px 0 80px;
   background-color: var(--bg-surface-elevated);
   border-bottom: 1px solid var(--border);
   text-align: center;
}

/* Fondo hero fotográfico para páginas sub-sección como Servicios */
.servicios-hero-bg {
   background-image: url('https://images.unsplash.com/photo-1577106263724-2c8e03bfe9cf?auto=format&fit=crop&q=80&w=1920');
   background-size: cover;
   background-position: center;
   background-attachment: fixed;
   border-bottom: none;
   position: relative;
}

.servicios-hero-bg::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.55);
   z-index: 0;
}

.servicios-hero-bg .container {
   position: relative;
   z-index: 5;
   margin: 0 auto;
   max-width: 800px;
}

.servicios-hero-bg h1 {
   color: #FFFFFF !important;
   font-weight: 700;
   font-size: clamp(3.2rem, 6.5vw, 5.2rem);
   text-shadow: 0 6px 30px rgba(0, 0, 0, 0.9);
   line-height: 1.1;
   margin-bottom: 1.5rem;
}

.servicios-hero-bg p.subtitle {
   color: #FFFFFF !important;
   font-size: 1.25rem;
   font-weight: 500;
   text-shadow: 0 4px 20px rgba(0, 0, 0, 0.95);
}

.badge {
   display: inline-block;
   padding: 0.6rem 1.5rem;
   background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
   color: #FFFFFF !important;
   border: 1px solid rgba(255, 255, 255, 0.4);
   border-radius: 100px;
   font-size: 0.95rem;
   font-weight: 800;   
   margin-bottom: 1.5rem;
   letter-spacing: 2.5px;
   text-transform: uppercase;
   box-shadow: 0 4px 15px rgba(58, 90, 64, 0.3);
   position: relative;
   overflow: hidden;
}

.badge::before {
   content: '';
   position: absolute;
   top: 0;
   left: -100%;
   width: 50%;
   height: 100%;
   background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
   animation: shineBadge 3s infinite;
}

@keyframes shineBadge {
   0% { left: -100%; }
   20% { left: 200%; }
   100% { left: 200%; }
}

.badge + h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem) !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero h1,
.page-hero h1 {
   font-size: clamp(3rem, 6vw, 4.5rem);
   font-weight: 700;
   margin-bottom: 1rem;
   color: var(--text-primary);
}

/* =========================================
   SERVICIOS - HORIZONTAL SHOWCASE
   ========================================= */
.services-showcase {
    padding: 6rem 0;
    background-color: var(--bg-surface);
}

.service-horizontal-row {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-bottom: 8.5rem;
}

.service-horizontal-row.reverse {
    flex-direction: row-reverse;
}

.service-horizontal-img {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.service-horizontal-img img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-horizontal-row:hover .service-horizontal-img img {
    transform: scale(1.04);
}

.service-horizontal-text {
    flex: 1;
}

.service-horizontal-text .badge {
    margin-bottom: 0;
}

.service-horizontal-text h2 {
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.service-horizontal-text p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

/* Listas con Puntos Perfilados solicitados por ti */
.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.service-features li::before {
    content: '•';
    color: var(--primary);
    font-size: 1.8rem;
    line-height: 0.8;
    margin-right: 0.8rem;
    font-weight: bold;
}

.service-horizontal-row:last-child {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .service-horizontal-row,
    .service-horizontal-row.reverse {
        flex-direction: column;
        gap: 3rem;
        margin-bottom: 5.5rem;
    }
    .service-horizontal-img {
        width: 100%;
    }
}

.hero .subtitle,
.page-hero p {
   font-size: 1.15rem;
   color: var(--text-secondary);
   margin: 0 auto 3rem;
}

.hero-actions {
   display: flex;
   gap: 1rem;
   justify-content: center;
}

/* =========================================
   TARJETAS DE SERVICIO
   ========================================= */
section {
   padding: 6rem 0;
   position: relative;
}

.service-grid {
   grid-template-columns: repeat(2, 1fr);
   gap: 3rem;
}

@media (max-width: 768px) {
   .service-grid {
      grid-template-columns: 1fr;
   }
}

.service-card {
   background-color: var(--bg-surface);
   border: 1px solid var(--border);
   border-radius: 12px;
   overflow: hidden;
   transition: var(--transition);
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
   display: flex;
   flex-direction: column;
}

.service-card:hover {
   transform: translateY(-8px);
   border-color: rgba(58, 90, 64, 0.3);
   box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.service-image {
   height: 240px;
   background-size: cover;
   background-position: center;
}

.service-content {
   padding: 2.5rem;
}

.service-content h3 {
   font-family: var(--font-sans);
   font-size: 1.7rem;
   margin-bottom: 1rem;
   color: var(--accent);
   font-weight: 700;
}

.service-content p {
   color: var(--text-secondary);
   font-size: 1.05rem;
}

/* =========================================
   PORTFOLIO (Con Background)
   ========================================= */
.portfolio-bg {
   background-image: url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?auto=format&fit=crop&q=80&w=1920');
   background-size: cover;
   background-position: center;
   background-attachment: fixed;
}

.portfolio-bg::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(245, 239, 235, 0.92);
   z-index: 0;
}

.portfolio>.container {
   position: relative;
   z-index: 1;
}

.portfolio-grid {
   grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.portfolio-card {
   background-color: var(--bg-surface);
   border-radius: 12px;
   overflow: hidden;
   border: 1px solid var(--border);
   transition: var(--transition);
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.portfolio-card:hover {
   transform: translateY(-5px);
   box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.card-image {
   height: 260px;
   background-size: cover;
   background-position: center;
   position: relative;
   display: flex;
   align-items: center;
   justify-content: center;
}

.card-overlay {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(43, 43, 43, 0.8);
   display: flex;
   align-items: center;
   justify-content: center;
   opacity: 0;
   transition: var(--transition);
}

.portfolio-card:hover .card-overlay {
   opacity: 1;
}

.card-content {
   padding: 1.5rem;
}

.card-content h3 {
   font-family: var(--font-serif);
   font-size: 1.3rem;
   margin-bottom: 0.5rem;
   color: var(--accent);
}

/* =========================================
   PRICING
   ========================================= */
.pricing-grid {
   grid-template-columns: repeat(3, 1fr);
   align-items: stretch;
   gap: 2rem;
}

.pricing-legal-note {
   margin-top: 1.6rem;
   text-align: center;
   max-width: 920px;
   margin-left: auto;
   margin-right: auto;
   line-height: 1.6;
}

@media (max-width: 900px) {
   .pricing-grid {
      grid-template-columns: 1fr;
   }
}

.price-card {
   background-color: var(--bg-surface);
   border: 1px solid var(--border);
   border-radius: 12px;
   padding: 3rem 2rem;
   position: relative;
   transition: var(--transition);
   display: flex;
   flex-direction: column;
}

.price-card.popular {
   border: 2px solid var(--accent);
   transform: scale(1.03);
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.popular-badge {
   position: absolute;
   top: -14px;
   left: 50%;
   transform: translateX(-50%);
   background: var(--accent);
   color: #fff;
   font-size: 0.75rem;
   font-weight: 600;
   padding: 0.4rem 1.2rem;
   border-radius: 100px;
   text-transform: uppercase;
}

.price-card .tier {
   font-family: var(--font-sans);
   font-size: 1.6rem;
   font-weight: 700;
   color: var(--accent);
   text-transform: uppercase;
   letter-spacing: -0.5px;
   border-bottom: 2px solid var(--bg-surface-elevated);
   padding-bottom: 1rem;
   margin-bottom: 1rem;
}

.amount {
   font-size: 3rem;
   font-weight: 600;
   letter-spacing: -1px;
   margin-bottom: 0.5rem;
}

.amount span {
   font-size: 1rem;
   font-weight: 400;
   color: var(--text-secondary);
}

.mrr {
   font-size: 0.95rem;
   font-weight: 500;
   color: var(--text-primary);
   margin-bottom: 1.5rem;
}

.price-desc {
   color: var(--text-secondary);
   font-size: 0.95rem;
   margin-bottom: 1.5rem;
   min-height: 50px;
}

.features-list {
   background-color: var(--bg-base);
   border: 1px solid var(--border);
   border-radius: 8px;
   padding: 1.5rem;
   flex-grow: 1;
}

.features-list li {
   font-size: 0.92rem;
   color: var(--text-primary);
   margin-bottom: 1rem;
   font-weight: 500;
   display: flex;
   align-items: flex-start;
   gap: 0.5rem;
}

.features-list span {
   color: var(--accent);
   font-weight: bold;
}

/* =========================================
   CONTACTO (Layout Dividido REDES/FORM)
   ========================================= */
.contact-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 4rem;
   align-items: stretch;
   max-width: 1000px;
   margin: 0 auto;
}

@media (max-width: 768px) {
   .contact-grid {
      grid-template-columns: 1fr;
      gap: 3rem;
   }
}

.contact-info h2 {
   font-size: 2.2rem;
   margin-bottom: 1rem;
   color: var(--accent);
}

.contact-info {
   background: var(--bg-surface);
   border: 1px solid var(--border);
   border-radius: 14px;
   padding: 2.2rem;
   box-shadow: 0 14px 34px rgba(31, 54, 34, 0.08);
}

.contact-info p {
   margin-bottom: 2rem;
   color: var(--text-secondary);
   font-size: 1.1rem;
}

.contact-highlights {
   display: grid;
   gap: 0.75rem;
   margin-bottom: 1.5rem;
}

.contact-highlights p {
   margin: 0;
   font-size: 0.95rem;
   line-height: 1.5;
}

.contact-channels li {
   margin-bottom: 1rem;
}

.contact-channels a {
   display: flex;
   align-items: center;
   font-weight: 500;
   font-size: 1.05rem;
   color: var(--text-primary);
   transition: var(--transition);
   border: 1px solid var(--border);
   padding: 1rem;
   border-radius: 8px;
   background: var(--bg-surface);
}

.contact-channels a:hover {
   border-color: var(--accent);
   color: var(--accent);
   transform: translateX(5px);
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form {
   display: flex;
   flex-direction: column;
   gap: 1rem;
   background: var(--bg-surface);
   border: 1px solid var(--border);
   border-radius: 14px;
   padding: 2.2rem;
   box-shadow: 0 16px 38px rgba(0, 0, 0, 0.06);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
   width: 100%;
   padding: 1rem;
   border: 1px solid var(--border);
   border-radius: 10px;
   font-family: var(--font-sans);
   background: var(--bg-surface);
   transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
   border-color: var(--accent);
   outline: none;
   box-shadow: 0 0 0 3px rgba(58, 90, 64, 0.14);
}

/* =========================================
   ANIMATIONS & FOOTER
   ========================================= */
.footer {
   border-top: 1px solid var(--border);
   background-color: var(--bg-surface-elevated);
   padding: 5rem 0 2rem;
}

.footer h2 {
   margin-bottom: 2rem;
}

.footer-bottom {
   margin-top: 4rem;
   display: flex;
   justify-content: space-between;
   align-items: center;
   border-top: 1px solid rgba(0, 0, 0, 0.1);
   padding-top: 2rem;
   font-size: 0.85rem;
   color: var(--text-secondary);
}

.reveal {
   opacity: 0;
   transform: translateY(30px);
   transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
   opacity: 1;
   transform: translateY(0);
}

.slide-left {
   opacity: 0;
   transform: translateX(-60px);
   transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-left.active {
   opacity: 1;
   transform: translateX(0);
}

.delay-1 {
   transition-delay: 0.15s;
}

.delay-2 {
   transition-delay: 0.3s;
}

.delay-3 {
   transition-delay: 0.45s;
}

/* =========================================
   MODAL DE PLANES
   ========================================= */
.modal-overlay {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.65);
   backdrop-filter: blur(8px);
   z-index: 2000;
   display: flex;
   align-items: center;
   justify-content: center;
   opacity: 0;
   pointer-events: none;
   transition: var(--transition);
}

.modal-overlay.active {
   opacity: 1;
   pointer-events: auto;
}

.modal-content {
   background: var(--bg-surface);
   width: 90%;
   max-width: 1000px;
   border-radius: 12px;
   padding: 3rem;
   display: grid;
   grid-template-columns: 1fr 1.5fr;
   gap: 4rem;
   position: relative;
   transform: scale(0.95);
   transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
   box-shadow: 0 25px 50px rgba(0,0,0,0.3);
   max-height: 90vh;
   overflow-y: auto;
}

.modal-overlay.active .modal-content {
   transform: scale(1);
}

.modal-close {
   position: absolute;
   top: 1.5rem;
   right: 2rem;
   background: transparent;
   border: none;
   font-size: 2.5rem;
   color: var(--text-secondary);
   cursor: pointer;
   transition: var(--transition);
   z-index: 10;
}

.modal-close:hover {
   color: var(--accent);
   transform: rotate(90deg);
}

.modal-left .price-card {
   pointer-events: none;
   box-shadow: none !important;
   border: 2px solid var(--accent);
   transform: scale(1.05) !important;
   margin: 0;
}

.modal-left .price-card .btn {
   display: none;
}

.extended-features ul {
   list-style: none;
   padding: 0;
}

.plan-detail-block {
   margin-bottom: 1.6rem;
}

.plan-detail-block h4 {
   font-size: 1rem;
   text-transform: uppercase;
   letter-spacing: 0.04em;
   color: var(--accent);
   margin-bottom: 0.75rem;
}

.extended-features li {
   margin-bottom: 1.2rem;
   font-size: 1.05rem;
   color: var(--text-primary);
   display: flex;
   align-items: flex-start;
   gap: 0.8rem;
   line-height: 1.5;
}

.extended-features li span {
   color: var(--accent);
   font-size: 1.2rem;
}

/* =========================================
   INDEX PAGE NUEVAS SECCIONES
   ========================================= */

.about-strip {
   padding: 6rem 0;
   background: linear-gradient(180deg, #f7f9f8 0%, #eef3ef 100%);
   border-top: 1px solid #dce5dd;
   border-bottom: 1px solid #dce5dd;
}

.about-strip-card {
   max-width: 900px;
   margin: 0 auto;
   background: #ffffff;
   border: 1px solid var(--border);
   border-radius: 16px;
   padding: 2.6rem;
   box-shadow: 0 16px 40px rgba(31, 54, 34, 0.08);
   text-align: center;
}

.about-strip-card h2 {
   margin: 0.9rem 0 1rem;
}

.about-strip-card p {
   color: var(--text-secondary);
}

.about-strip-card > p {
   max-width: 820px;
   margin-left: auto;
   margin-right: auto;
}

.about-strip-points {
   margin: 1.5rem 0 2rem;
   display: grid;
   gap: 0.8rem;
   text-align: left;
}

.about-strip-points p {
   margin: 0;
   font-size: 0.97rem;
}

.problem-section {
   padding: 8rem 0;
   background-color: var(--bg-surface-elevated);
}

.problem-title {
   font-size: 3.2rem;
   font-family: var(--font-serif);
   margin-bottom: 2rem;
   max-width: 900px;
   margin-left: auto;
   margin-right: auto;
   line-height: 1.2;
}

.problem-text {
   font-size: 1.25rem;
   color: var(--text-secondary);
   max-width: 800px;
   margin: 0 auto;
   line-height: 1.8;
}

.bg-light {
   background-color: #F8F9FA;
}

.services-overview {
   padding: 6rem 0;
}

.features-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 2.5rem;
   margin-top: 3rem;
}

.feature-card {
   background: var(--bg-surface);
   padding: 0;
   overflow: hidden;
   border-radius: 12px;
   text-align: center;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
   transition: transform 0.4s ease, box-shadow 0.4s ease;
   border: 1px solid var(--border);
}

.feature-card:hover {
   transform: translateY(-10px);
   box-shadow: 0 15px 40px rgba(58, 90, 64, 0.15);
}

.feature-image {
   height: 220px;
   background-size: cover;
   background-position: center;
}

.feature-content {
   padding: 2.5rem;
}

.feature-card h3 {
   margin-bottom: 1rem;
   font-size: 1.5rem;
   color: var(--text-primary);
}

.feature-card p {
   color: var(--text-secondary);
   line-height: 1.6;
}

#btn-descubrir {
   background-color: var(--primary);
   color: #FFFFFF;
   border: 2px solid var(--primary);
   transition: var(--transition);
}

#btn-descubrir:hover {
   background-color: #FFFFFF !important;
   color: var(--primary) !important;
}

.split-section {
   display: flex;
   background-color: var(--bg-surface);
   min-height: 70vh;
   overflow: hidden;
}

.split-image {
   flex: 1;
   background-image: url('https://images.unsplash.com/photo-1555939594-58d7cb561ad1?auto=format&fit=crop&q=80&w=1000');
   background-size: cover;
   background-position: center;
   min-height: 500px;
}

.split-content {
   flex: 1;
   padding: 6rem 5rem;
   display: flex;
   flex-direction: column;
   justify-content: center;
}

.split-content h2 {
   font-family: var(--font-serif);
   font-size: 2.8rem;
   margin-bottom: 1.5rem;
   color: var(--text-primary);
}

.split-content p {
   font-size: 1.15rem;
   color: var(--text-secondary);
   line-height: 1.7;
   margin-bottom: 2.5rem;
}

.benefits-list li {
   font-size: 1.1rem;
   margin-bottom: 1.5rem;
   color: var(--text-secondary);
   line-height: 1.6;
}

/* =========================================
   PROCESO Y ENTREGABLES 
   ========================================= */

.process-section {
    background-color: #FDFBF7;
    padding: 6rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.process-grid {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 5rem;
    position: relative;
}

.process-grid::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border);
    z-index: 0;
    opacity: 0.5;
}

.step-card {
    flex: 1;
    background: var(--bg-surface);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    text-align: center;
    position: relative;
    z-index: 1;
    border: 1px solid var(--border);
    transition: transform 0.4s ease;
}

.step-card:hover {
    transform: translateY(-8px);
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: #fff;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    border: 4px solid #DFE3E1;
}

.step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.deliverables-box {
    background: var(--bg-surface);
    border-radius: 12px;
    padding: 4rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(58, 90, 64, 0.08);
    border: 1px solid var(--accent);
}

.deliverables-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.deliverables-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.check-icon {
    background-color: var(--accent);
    color: #fff;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
    margin-top: 0.2rem;
}

.deliverables-list strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.3rem;
}

.deliverables-list div {
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .process-grid {
        flex-direction: column;
        gap: 2rem;
    }
    .process-grid::after {
        display: none;
    }
    .deliverables-list {
        grid-template-columns: 1fr;
    }
    .deliverables-box {
        padding: 2.5rem 1.5rem;
    }
}

.stat-banner {
   background-color: var(--primary);
   color: #FFFFFF;
   padding: 5rem 0;
   text-align: center;
}

.stat-banner h3 {
   font-family: var(--font-serif);
   font-size: 2.2rem;
   max-width: 900px;
   margin: 0 auto 1rem auto;
   line-height: 1.4;
   font-weight: 500;
   color: #FFFFFF;
}

.stat-banner p {
   font-size: 1.2rem;
   color: #FFFFFF !important;
   opacity: 1;
   font-weight: 400;
}

@media (max-width: 900px) {
   .split-section {
      flex-direction: column;
   }
   .split-content {
      padding: 4rem 2rem;
   }
   .problem-title {
      font-size: 2.2rem;
   }
   .stat-banner h3 {
      font-size: 1.8rem;
   }
   .modal-content {
      grid-template-columns: 1fr;
      padding: 2rem 1.5rem;
      gap: 2rem;
   }
   .modal-left { 
      display: none; 
   }
}
/* =========================================
   GLOBAL POLISH (Fases 1-3)
   ========================================= */
:focus-visible {
   outline: 3px solid rgba(58, 90, 64, 0.42);
   outline-offset: 2px;
}

.skip-link {
   position: absolute;
   left: -9999px;
   top: 8px;
   z-index: 3000;
   padding: 0.7rem 1rem;
   background: #ffffff;
   color: var(--primary);
   border: 1px solid var(--primary);
   border-radius: 8px;
}

.skip-link:focus {
   left: 8px;
}

.nav-toggle {
   display: none;
   align-items: center;
   justify-content: center;
   flex-direction: column;
   gap: 4px;
   width: 44px;
   height: 44px;
   border: 1px solid rgba(255, 255, 255, 0.5);
   border-radius: 8px;
   background: transparent;
   cursor: pointer;
}

.nav-toggle span {
   display: block;
   width: 18px;
   height: 2px;
   background: #ffffff;
}

.nav-mobile-cta {
   display: none;
}

.nav-cta {
   white-space: nowrap;
}

.navbar .nav-links a {
   font-family: var(--font-sans);
}

.portfolio-status {
   display: inline-flex;
   margin-top: 0.9rem;
   padding: 0.35rem 0.75rem;
   font-size: 0.72rem;
   text-transform: uppercase;
   letter-spacing: 0.06em;
   border-radius: 100px;
   font-weight: 700;
   background: #ecf2ed;
   color: var(--accent);
   border: 1px solid rgba(58, 90, 64, 0.25);
}

.portfolio-status.is-live {
   background: #e7f3ea;
   color: #1f6b34;
   border-color: rgba(31, 107, 52, 0.25);
}

.card-overlay .btn.btn-disabled {
   opacity: 0.9;
}

.contact-form label {
   display: block;
   font-size: 0.85rem;
   font-weight: 600;
   color: var(--text-primary);
}

.contact-form .field-help {
   display: block;
   margin-top: 0.4rem;
   font-size: 0.78rem;
   color: var(--text-secondary);
}

.contact-form .consent-field {
   display: flex;
   align-items: flex-start;
   gap: 0.65rem;
   font-size: 0.82rem;
   font-weight: 500;
   line-height: 1.4;
   color: var(--text-secondary);
}

.contact-form .consent-field input[type='checkbox'] {
   width: 1rem;
   height: 1rem;
   margin-top: 0.15rem;
   padding: 0;
   border-radius: 4px;
   accent-color: var(--accent);
   flex: 0 0 auto;
}

.contact-form .consent-field a {
   color: var(--primary);
   text-decoration: underline;
}

.form-feedback {
   margin-top: 0.5rem;
   font-size: 0.9rem;
   padding: 0.8rem 1rem;
   border-radius: 8px;
   border: 1px solid transparent;
}

.form-feedback.is-success {
   background: #e8f6ec;
   color: #1f6b34;
   border-color: #b4ddc1;
}

.form-feedback.is-error {
   background: #fdecec;
   color: #9a2323;
   border-color: #f0b9b9;
}

.input-row {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 1rem;
}

.contact-form select {
   appearance: none;
   background-image: linear-gradient(45deg, transparent 50%, #5b6f5f 50%), linear-gradient(135deg, #5b6f5f 50%, transparent 50%);
   background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
   background-size: 6px 6px, 6px 6px;
   background-repeat: no-repeat;
}

.contact-form select:focus {
   border-color: var(--accent);
   outline: none;
}

.section-note {
   margin-top: 1rem;
   font-size: 0.9rem;
   color: var(--text-secondary);
}

@media (max-width: 768px) {
   .nav-toggle {
      display: inline-flex;
      order: 2;
   }

   .navbar .btn-outline.nav-cta {
      display: none !important;
   }

   .nav-actions {
      display: none;
   }

   .nav-container {
      position: relative;
      flex-wrap: wrap;
      gap: 0.9rem;
   }

   .nav-links {
      order: 3;
      width: 100%;
      margin-top: 0.4rem;
      padding: 1rem;
      border-radius: 10px;
      background: rgba(20, 34, 22, 0.95);
      border: 1px solid rgba(255, 255, 255, 0.12);
      display: none;
      flex-direction: column;
      gap: 1rem;
      align-items: flex-start;
   }

   .nav-links.open {
      display: flex;
   }

   .nav-links a {
      width: 100%;
      font-size: 0.92rem;
      white-space: normal;
   }

   .nav-mobile-cta {
      display: block;
      width: 100%;
      margin-top: 0.3rem;
   }

    .nav-mobile-lang {
      display: block;
      width: 100%;
   }

   .nav-mobile-lang .nav-language {
      width: 100%;
      justify-content: center;
      border-color: rgba(255, 255, 255, 0.2);
      background: rgba(255, 255, 255, 0.04);
   }

   .lang-menu {
      display: none;
   }

   .nav-mobile-lang .lang-btn {
      flex: 1;
   }

   .nav-mobile-cta .btn {
      width: 100%;
      border-color: #ffffff;
      color: #ffffff;
   }

   .input-row {
      grid-template-columns: 1fr;
   }

   .footer-bottom {
      flex-direction: column;
      gap: 1rem;
      text-align: center;
   }
}

@media (prefers-reduced-motion: reduce) {
   * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
   }
}

/* =========================================
   FAQ CHAT WIDGET
   ========================================= */
.faq-chat {
   position: fixed;
   right: 1.1rem;
   bottom: 1.1rem;
   z-index: 1900;
}

.faq-chat-toggle {
   border: none;
   border-radius: 999px;
   background: linear-gradient(135deg, var(--accent), #2f5231);
   color: #fff;
   padding: 0.85rem 1.15rem;
   font-weight: 600;
   font-family: var(--font-sans);
   display: inline-flex;
   align-items: center;
   gap: 0.5rem;
   box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
   cursor: pointer;
}

.faq-chat-toggle-dot {
   width: 10px;
   height: 10px;
   border-radius: 50%;
   background: #d8ffc7;
   box-shadow: 0 0 0 6px rgba(216, 255, 199, 0.2);
}

.faq-chat-panel {
   width: min(94vw, 430px);
   height: min(82vh, 620px);
   border-radius: 14px;
   border: 1px solid var(--border);
   background: var(--bg-surface);
   box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
   display: none;
   margin-bottom: 0.75rem;
   overflow: hidden;
   padding: 0 !important;
   position: relative;
}

.faq-chat-panel.open {
   display: grid;
   grid-template-rows: auto 1fr auto auto auto;
}

.faq-chat-header {
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 0.95rem 1rem;
   background: var(--bg-surface-elevated);
   border-bottom: 1px solid var(--border);
}

.faq-chat-header strong {
   display: block;
   color: var(--accent);
}

.faq-chat-header p {
   margin: 0.2rem 0 0;
   color: var(--text-secondary);
   font-size: 0.82rem;
}

.faq-chat-close {
   border: none;
   background: transparent;
   color: var(--text-secondary);
   font-size: 1.1rem;
   cursor: pointer;
}

.faq-chat-messages {
   overflow-y: auto;
   padding: 1rem;
   display: flex;
   flex-direction: column;
   gap: 0.75rem;
   min-height: 280px;
}

.faq-chat-msg p {
   margin: 0;
   padding: 0.7rem 0.8rem;
   border-radius: 12px;
   line-height: 1.45;
   font-size: 0.9rem;
}

.faq-chat-msg.user {
   display: flex;
   justify-content: flex-end;
}

.faq-chat-msg.user p {
   background: #1f3622;
   color: #fff;
   border-bottom-right-radius: 5px;
   max-width: 88%;
}

.faq-chat-msg.bot p {
   background: var(--bg-base);
   color: var(--text-primary);
   border: 1px solid var(--border);
   border-bottom-left-radius: 5px;
}

.faq-chat-msg.bot a {
   color: var(--accent);
}

.faq-chat-quick {
   display: flex;
   gap: 0.45rem;
   padding: 0 1rem 0.8rem;
   overflow-x: auto;
}

.faq-chat-quick button {
   border: 1px solid var(--border);
   border-radius: 999px;
   background: var(--bg-base);
   color: var(--text-primary);
   padding: 0.35rem 0.7rem;
   font-size: 0.78rem;
   white-space: nowrap;
   cursor: pointer;
}

.faq-chat-form {
   padding: 0.85rem 1rem 1rem;
   border-top: 1px solid var(--border);
   display: grid;
   grid-template-columns: 1fr auto;
   gap: 0.55rem;
}

.faq-chat-form input {
   border: 1px solid var(--border);
   border-radius: 9px;
   padding: 0.64rem 0.7rem;
   font-family: var(--font-sans);
   background: var(--bg-base);
}

.faq-chat-form button {
   border: none;
   border-radius: 9px;
   padding: 0.62rem 0.9rem;
   font-family: var(--font-sans);
   font-weight: 600;
   background: var(--accent);
   color: #fff;
   cursor: pointer;
}

.faq-chat-beta-note {
   margin: 0;
   padding: 0 1rem 0.9rem;
   color: var(--text-secondary);
   font-size: 0.75rem;
   line-height: 1.35;
}

.faq-chat-beta-note a {
   color: var(--accent);
   font-weight: 600;
}

@media (max-width: 560px) {
   .faq-chat {
      right: 0.8rem;
      bottom: 0.8rem;
   }

   .faq-chat-panel {
      width: min(96vw, 430px);
      height: min(78vh, 600px);
   }
}
