/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #333;
}

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

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

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

/* Pre-header */
.pre-header {
  background: #1b5e20;
  color: #e8f5e9;
  font-size: 0.85rem;
}
.pre-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}
.pre-header .contact span {
  margin-right: 1rem;
}
.pre-header .social a {
  color: #e8f5e9;
  margin-left: 0.5rem;
  transition: color 0.3s;
}
.pre-header .social a:hover {
  color: #a5d6a7;
}

/* Navigation */
.main-header {
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 999;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}
.logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1b5e20;
}
.nav-links {
  list-style: none;
  display: flex;
}
.nav-links li {
  margin-left: 1.5rem;
  margin-top:10px;
}
.nav-portal {
   margin-top: 0 !important;
}
.nav-links a {
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: #1b5e20;
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.hamburger span {
  height: 2px;
  background: #333;
  margin: 4px 0;
  width: 25px;
  transition: all 0.3s;
}

/* Responsive navigation */
@media (max-width: 768px) {
  nav {
    position: relative;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    width: 200px;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-200%);
    transition: transform 0.3s;
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .nav-links li {
    margin: 0.5rem 0;
  }
  .hamburger {
    display: flex;
  }
}

/* Hero slider */
.hero {
  position: relative;
  height: 90vh;
  overflow: hidden;
}
.slider {
  height: 100%;
  width: 100%;
  position: relative;
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.slide.active {
  opacity: 1;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}
.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 500;
  transition: background 0.3s, color 0.3s;
}
.btn-primary {
  background: #2e7d32;
  color: #fff;
}
.btn-primary:hover {
  background: #1b5e20;
}
.btn-outline {
  border: 2px solid #2e7d32;
  color: #2e7d32;
}
.btn-outline:hover {
  background: #2e7d32;
  color: #fff;
}
.btn-secondary {
  background: #81c784;
  color: #1b5e20;
}
.btn-secondary:hover {
  background: #66bb6a;
  color: #ffffff;
}

/* Slider controls */
.slider-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
}
.slider-controls span {
  cursor: pointer;
  color: #fff;
  font-size: 1.5rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.5rem;
  border-radius: 50%;
  transition: background 0.3s;
}
.slider-controls span:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* About section */
.about {
  padding: 4rem 0;
  background: #f9f9f9;
}
.about-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.about-text {
  flex: 1 1 45%;
}
.about-text h2 {
  font-size: 2rem;
  color: #1b5e20;
  margin-bottom: 1rem;
}
.about-text p {
  margin-bottom: 1rem;
}
.about-highlights {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.highlight {
  background: #fff;
  border-left: 4px solid #2e7d32;
  padding: 1rem;
  border-radius: 8px;
}
.highlight i {
  font-size: 1.5rem;
  color: #2e7d32;
  margin-right: 0.5rem;
}
.highlight h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #1b5e20;
}
.highlight p {
  font-size: 0.9rem;
  color: #666;
}

/* Services section */
.services {
  padding: 4rem 0;
}
.services h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: #1b5e20;
  font-size: 2rem;
}
.section-description {
  text-align: center;
  margin-bottom: 2rem;
  color: #666;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.service-item {
  background: #f9f9f9;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-item i {
  font-size: 2rem;
  color: #2e7d32;
  margin-bottom: 1rem;
}
.service-item h3 {
  margin-bottom: 0.5rem;
  color: #1b5e20;
}
.service-item p {
  font-size: 0.9rem;
  color: #555;
}
.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* CTA section */
.cta {
  background: #e8f5e9;
  padding: 4rem 0;
}
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}
.cta-text {
  flex: 1 1 50%;
}
.cta-text h2 {
  font-size: 2rem;
  color: #1b5e20;
  margin-bottom: 1rem;
}
.cta-text ul {
  list-style: none;
  margin: 1rem 0 2rem;
  padding: 0;
}
.cta-text ul li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 0rem;
}

.cta-image {
  flex: 1 1 40%;
  text-align: center;
}
.cta-image img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Team section */
.team {
  padding: 4rem 0;
  background: #f9f9f9;
}
.team h2 {
  text-align: center;
  color: #1b5e20;
  margin-bottom: 1rem;
  font-size: 2rem;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.team-member {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.member-photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
}
.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-member h4 {
  margin-bottom: 0.3rem;
  color: #1b5e20;
}
.team-member span {
  color: #666;
  font-size: 0.9rem;
}

/* Contact section */
.contact {
  padding: 4rem 0;
}
.contact-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.contact-info {
  flex: 1 1 40%;
}
.contact-info h2 {
  color: #1b5e20;
  margin-bottom: 1rem;
}
.contact-info ul {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}
.contact-info ul li {
  margin-bottom: 0.5rem;
  color: #555;
  font-size: 0.95rem;
}
.contact-info ul li i {
  color: #2e7d32;
  margin-right: 0.5rem;
}
.contact-form {
  flex: 1 1 50%;
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 8px;
}
.contact-form h2 {
  color: #1b5e20;
  margin-bottom: 1rem;
}
.contact-form form {
  display: flex;
  flex-direction: column;
}
.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
}
.contact-form textarea {
  resize: vertical;
}
.contact-form button {
  align-self: flex-start;
}

/* Footer */
.footer {
  background: #1b5e20;
  color: #e8f5e9;
  padding: 3rem 0 1rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer-about,
.footer-links,
.footer-contact {
  flex: 1 1 30%;
}
.footer-about h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}
.footer-links h4,
.footer-contact h4 {
  color: #a5d6a7;
  margin-bottom: 0.5rem;
}
.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
}
.footer-links ul li,
.footer-contact ul li {
  margin-bottom: 0.5rem;
}
.footer-links ul li a {
  color: #e8f5e9;
  transition: color 0.3s;
}
.footer-links ul li a:hover {
  color: #a5d6a7;
}
.footer-social a {
  color: #e8f5e9;
  margin-right: 0.5rem;
  font-size: 1.2rem;
  transition: color 0.3s;
}
.footer-social a:hover {
  color: #a5d6a7;
}
.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #a5d6a7;
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .about-inner,
  .cta-inner,
  .contact-inner {
    flex-direction: column;
  }
  .about-text,
  .about-highlights,
  .cta-text,
  .cta-image,
  .contact-info,
  .contact-form {
    flex: 1 1 100%;
  }
  .cta-image {
    order: -1;
    margin-bottom: 2rem;
  }
}



:root{
  --green-900:#0f3d1a;
  --green-800:#145a24;
  --green-700:#1b5e20;
  --green-600:#2e7d32;
  --mint-50:#e8f5e9;
  --text:#1f2937;
  --muted:#6b7280;
  --border: rgba(255,255,255,.18);
}

body{
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
}

h1,h2,h3,h4,.logo-text{
  font-family: "Montserrat", "Arial", system-ui, sans-serif;
  /*font-family: "Nunito", "Inter", system-ui, sans-serif;*/
}


.pre-header{
  background: linear-gradient(90deg, var(--green-900), var(--green-700));
  color: rgba(255,255,255,.92);
  font-size: .9rem;
}

.pre-header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
  padding: .35rem 0;           /* MÁS BAJO */
  line-height: 1.2;
}

.pre-left, .pre-right{
  display:flex;
  align-items:center;
  gap: .65rem;
  flex-wrap: wrap;
}

.pre-item{
  display:inline-flex;
  align-items:center;
  gap: .45rem;
  color: rgba(255,255,255,.92);
  transition: opacity .2s ease;
  white-space: nowrap;
}

.pre-item i{
  font-size: .95em;
  opacity: .95;
}

.pre-item:hover{ opacity: .85; }

.pre-sep{
  color: rgba(255,255,255,.45);
  user-select:none;
}

.pre-social{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: rgba(255,255,255,.92);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.pre-social:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.28);
}

.pre-cta{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  margin-left: .25rem;
  padding: .38rem .65rem;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.95);
  transition: background .2s ease, transform .2s ease;
}

.pre-cta:hover{
  background: rgba(255,255,255,.18);
  transform: translateY(-1px);
}

.hide-sm{ display:inline-flex; }
.hide-md{ display:inline-flex; }

@media (max-width: 768px){
  .pre-header-inner{ gap:.5rem; }
  .hide-md{ display:none; }
}
@media (max-width: 520px){
  .hide-sm{ display:none; }
  .pre-cta span{ display:none; } /* queda solo el ícono para compactar */
}

/* ============ Portal del Paciente en PREHEADER (prioridad máxima) ============ */

.pre-right{
  gap: .55rem;
}

/* reemplaza la estética simple de pre-cta por pre-portal */
.pre-portal{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .42rem .72rem;
  padding: .22rem .42rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #0f3d1a, #2e7d32, #66bb6a);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 14px 40px rgba(0,0,0,.22);
  overflow: hidden;
  white-space: nowrap;
  transform-style: preserve-3d;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  animation: prePortalPulse 3.1s ease-in-out infinite;
}

/* brillo animado */
.pre-portal::after{
  content:"";
  position:absolute;
  top:-70%;
  left:-35%;
  width: 55%;
  height: 240%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.35), rgba(255,255,255,0));
  transform: rotate(18deg) translateX(-140%);
  transition: transform .8s ease;
  pointer-events:none;
}

.pre-portal:hover{
  transform: translateY(-1px) rotateX(5deg) rotateY(-5deg);
  box-shadow: 0 22px 70px rgba(0,0,0,.28);
  filter: saturate(1.05);
}
.pre-portal:hover::after{
  transform: rotate(18deg) translateX(280%);
}

@keyframes prePortalPulse{
  0%,100% { box-shadow: 0 14px 40px rgba(0,0,0,.20); }
  50%     { box-shadow: 0 20px 65px rgba(0,0,0,.30); }
}

.pre-portal-ico{
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.20);
}

.pre-portal-text{
  display:flex;
  flex-direction: column;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: .2px;
  font-size: .86rem;
}

.pre-portal-text small{
  font-weight: 700;
  opacity: .92;
  font-size: .72rem;
}

.pre-portal-badge{
  font-size: .72rem;
  font-weight: 900;
  padding: .22rem .5rem;
  border-radius: 999px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.18);
}

/* RESPONSIVE: mantener SIEMPRE icono + texto visible */
@media (max-width: 520px){
  .pre-portal-text{ display:flex !important; }   /* clave: nunca ocultar */
  .pre-portal{ padding: .40rem .60rem; }
  .pre-portal-badge{ display:none; }            /* si querés compactar, ocultá badge, no texto */
}

/* Si falta espacio en pantallas chicas, ocultamos redes antes que el portal */
@media (max-width: 520px){
  .pre-social{ display:none; }
}



/* =========================
   ENHANCEMENTS PRO (3D + Anim)
========================= */

:root{
  --shadow-1: 0 10px 30px rgba(0,0,0,.10);
  --shadow-2: 0 18px 50px rgba(0,0,0,.14);
  --glass: rgba(255,255,255,.10);
  --glass-border: rgba(255,255,255,.18);
}

/* Suaviza la tipografía global (tu body aún decía Montserrat) */
body{
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Header más premium */
.main-header{
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31,41,55,.06);
}

/* Hover del menú más llamativo (underline animado + lift) */
.nav-links a{
  position: relative;
  border-radius: 12px;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.nav-links a::after{
  content:"";
  position:absolute;
  left: 1px;
  right: 1px;
  bottom: 0px;
  top:25px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(46,125,50,.0), rgba(46,125,50,.95), rgba(46,125,50,.0));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
  opacity: .9;
}

.nav-links a:hover{
  transform: translateY(-2px);
  background: rgba(46,125,50,.08);
  color: var(--green-700);
}
.nav-links a:hover::after{ transform: scaleX(1); }

/* PORTAL DEL PACIENTE: botón premium, brillo y pulso sutil */
.nav-portal{ margin-left: .25rem; }

.portal-btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .70rem 1rem;
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(135deg, #1b5e20, #2e7d32, #66bb6a);
  box-shadow: 0 16px 40px rgba(27,94,32,.25);
  transform-style: preserve-3d;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
  overflow: hidden;
}

.portal-btn .portal-badge{
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .3px;
  padding: .28rem .55rem;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.22);
}

.portal-btn::before{
  content:"";
  position:absolute;
  inset:-40%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.55), rgba(255,255,255,0) 55%);
  transform: translateZ(1px);
  opacity: .75;
  pointer-events:none;
}

.portal-btn::after{
  content:"";
  position:absolute;
  top: -60%;
  left: -30%;
  width: 55%;
  height: 220%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.35), rgba(255,255,255,0));
  transform: rotate(18deg) translateX(-120%);
  transition: transform .65s ease;
  pointer-events:none;
}

.portal-btn:hover{
  transform: translateY(-2px) rotateX(6deg) rotateY(-6deg);
  box-shadow: 0 22px 70px rgba(27,94,32,.30);
  filter: saturate(1.05);
}
.portal-btn:hover::after{
  transform: rotate(18deg) translateX(260%);
}
.nav-portal a::after{
  content:"";
  position:absolute;
  left: 1px;
  right: 1px;
  bottom: 0px;
  top:25px;
  height: 0px !important;
  }
/* Pequeño pulso automático (no molesto) */
.portal-btn{
  animation: portalPulse 3.2s ease-in-out infinite;
}
@keyframes portalPulse{
  0%, 100% { box-shadow: 0 16px 40px rgba(27,94,32,.22); }
  50%      { box-shadow: 0 22px 70px rgba(27,94,32,.32); }
}

/* HERO: mejora legibilidad con panel glass + animación */
.hero-content{
  width: min(860px, 92vw);
}

.hero-panel{
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 1.3rem 1.25rem;
  box-shadow: 0 18px 60px rgba(0,0,0,.25);
  transform: translateY(10px);
  opacity: 0;
  animation: heroIn .75s ease forwards;
}

.slide.active .hero-panel{
  animation: heroIn .75s ease forwards;
}

@keyframes heroIn{
  to{ transform: translateY(0); opacity: 1; }
}

.hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  font-weight: 700;
  letter-spacing: .2px;
  color: rgba(255,255,255,.95);
  background: rgba(46,125,50,.22);
  border: 1px solid rgba(255,255,255,.18);
  padding: .35rem .65rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}

.hero-content h1{
  text-shadow: 0 10px 30px rgba(0,0,0,.45);
}

.hero-content p{
  color: rgba(255,255,255,.92);
}

.hero-actions{
  display:flex;
  gap: .75rem;
  justify-content:center;
  flex-wrap: wrap;
  margin-top: .25rem;
}

/* Botón ghost para hero */
.btn-ghost{
  display:inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  background: rgba(255,255,255,.10);
  transition: transform .18s ease, background .18s ease;
}
.btn-ghost:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.16);
}

/* CTA: card elaborada con hover 3D */
.cta-inner{
  gap: 2.5rem;
}

.cta-card{
  flex: 1 1 40%;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-1);
  transform-style: preserve-3d;
  transition: transform .25s ease, box-shadow .25s ease;
}

.cta-card:hover{
  transform: translateY(-6px) rotateX(4deg) rotateY(-4deg);
  box-shadow: var(--shadow-2);
}

.cta-card-media{
  position: relative;
  overflow:hidden;
}

.cta-card-media img{
  width: 100%;
  height: 560px;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .5s ease;
}
.cta-card:hover .cta-card-media img{
  transform: scale(1.08);
}

.cta-card-glow{
  position:absolute;
  inset:-30%;
  background: radial-gradient(circle at 30% 20%, rgba(102,187,106,.35), rgba(0,0,0,0) 55%);
  opacity: .9;
  pointer-events:none;
}

.cta-card-chip{
  position:absolute;
  left: 14px;
  bottom: 14px;
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.45rem .7rem;
  border-radius: 999px;
  color:#fff;
  background: rgba(0,0,0,.40);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(10px);
  font-weight: 700;
}

.cta-card-meta{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:.6rem;
  padding: 1rem;
  background: linear-gradient(180deg, #fff, rgba(232,245,233,.65));
  border-top: 1px solid rgba(31,41,55,.06);
}

.meta-item{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.45rem;
  padding:.65rem .6rem;
  border-radius: 14px;
  background: rgba(46,125,50,.06);
  border: 1px solid rgba(46,125,50,.10);
  font-weight: 700;
  color: var(--green-800);
}

/* Team: cards con “lift” y borde suave */
.team-member{
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  border: 1px solid rgba(31,41,55,.06);
  transform-style: preserve-3d;
}

.team-member:hover{
  transform: translateY(-8px) rotateX(3deg);
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
}

.member-photo{
  border: 4px solid rgba(46,125,50,.15);
}

/* WhatsApp flotante siempre visible */
.wa-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 1.7rem;
  box-shadow: 0 18px 60px rgba(0,0,0,.25);
  z-index: 2000;
  transition: transform .18s ease, filter .18s ease;
}

.wa-float:hover{
  transform: translateY(-4px);
  filter: brightness(1.02);
}

.wa-pulse{
  position:absolute;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: rgba(37,211,102,.35);
  animation: waPulse 1.8s ease-out infinite;
  z-index:-1;
}

@keyframes waPulse{
  0%   { transform: scale(1); opacity: .75; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* Respeto por accesibilidad */
@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}


/* ============ Reserva de Turnos (HEADER) con menor jerarquía ============ */
.turnos-btn{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding: .55rem .85rem;       /* más chico */
  border-radius: 999px;
  background: rgba(46,125,50,.10);
  color: var(--green-800) !important;
  border: 1px solid rgba(46,125,50,.18);
  font-weight: 800;
  font-size: .92rem;            /* baja un poco */
  box-shadow: 0 10px 24px rgba(0,0,0,.06); /* menos presencia */
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.turnos-btn:hover{
  transform: translateY(-2px);
  background: rgba(46,125,50,.14);
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
}

/* En mobile: mantener icono + texto visible, que no se rompa */
@media (max-width: 768px){
  .turnos-btn{
    width: 100%;
    justify-content: center;
  }
}



/*********************** Servicios ***********************/
.featured-services {
  padding: 80px 0;
  background: #f7f9fc;
}

.featured-services .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.featured-services h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 15px;
  color: #1f2d3d;
}

.featured-services .section-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  color: #5b6573;
  line-height: 1.6;
}

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

.featured-service-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.10);
}

.featured-service-card .icon-box {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #eaf2ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-service-card .icon-box i {
  font-size: 1.8rem;
  color: #1d4ed8;
}

.featured-service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #1f2d3d;
}

.featured-service-card p {
  font-size: 0.97rem;
  line-height: 1.6;
  color: #5b6573;
  margin: 0;
}

@media (max-width: 992px) {
  .featured-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .featured-services {
    padding: 60px 0;
  }

  .featured-services-grid {
    grid-template-columns: 1fr;
  }
}
/*********************** Servicios ***********************/


/*********************** Footer *************************/
.footer {
  position: relative;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
  overflow: hidden;
  margin-top: 80px;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.18), transparent 35%),
              radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.12), transparent 30%);
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 2;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 50px 20px 40px;
}

.footer-brand h3 {
  font-size: 1.8rem;
  margin: 14px 0 16px;
  line-height: 1.2;
  color: #ffffff;
}

.footer-brand p,
.footer-block p,
.footer-block li,
.footer-block a,
.footer-bottom p {
  color: rgba(255, 255, 255, 0.78);
}

.footer-badge {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.footer-block h4 {
  font-size: 1.05rem;
  margin-bottom: 18px;
  color: #ffffff;
  position: relative;
  padding-bottom: 10px;
}

.footer-block h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  border-radius: 10px;
  background: #60a5fa;
}

.footer-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-block ul li {
  margin-bottom: 12px;
}

.footer-block ul li a {
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-block ul li a:hover {
  color: #ffffff;
  padding-left: 6px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

.footer-contact-list i {
  width: 18px;
  margin-top: 3px;
  color: #60a5fa;
}

.footer-social-text {
  margin-bottom: 18px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-social a:hover {
  transform: translateY(-4px);
  background: #2563eb;
  border-color: #2563eb;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.12);
}

.footer-bottom-inner {
  padding: 18px 20px;
  padding: 10px 20px 28px;
  display: block;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  text-align:center;
  width:100%;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.92rem;
}

@media (max-width: 992px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
    padding: 60px 20px 30px;
  }

  .footer-brand h3 {
    font-size: 1.5rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}



/* =========================
   MENU MOBILE MODERNO
========================= */
@media (max-width: 768px) {
  .main-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  }

  .nav-inner {
    padding: 0.9rem 0;
    min-height: 74px;
  }

  .logo-img {
    height: 44px;
    width: auto;
  }

  .nav {
    position: relative;
  }

  .hamburger {
    display: flex;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(27, 94, 32, 0.12);
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    background: linear-gradient(180deg, #ffffff, #f7faf8);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    z-index: 1002;
    position: relative;
  }

  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 0;
    border-radius: 999px;
    background: #7de885;
    transition: transform 0.28s ease, opacity 0.2s ease, background 0.2s ease;
  }

  .hamburger:hover {
    transform: translateY(-1px);
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: min(92vw, 360px);
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1rem;
    margin: 0;
    list-style: none;

    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(27, 94, 32, 0.08);
    border-radius: 24px;
    box-shadow:
      0 24px 70px rgba(15, 23, 42, 0.18),
      0 8px 24px rgba(15, 23, 42, 0.08);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top right;
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0.25s ease;
    z-index: 1001;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav-links li {
    margin: 0;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    font-size: 0.98rem;
    font-weight: 600;
    color: #1f2937;
    background: transparent;
    transition:
      background 0.2s ease,
      color 0.2s ease,
      transform 0.2s ease,
      box-shadow 0.2s ease;
  }

  .nav-links a:hover,
  .nav-links a:focus {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.10), rgba(102, 187, 106, 0.10));
    color: #145a24;
    transform: translateX(2px);
    box-shadow: inset 0 0 0 1px rgba(46, 125, 50, 0.08);
  }

  .nav-links a.is-active {
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.12), rgba(102, 187, 106, 0.14));
    color: #145a24;
    box-shadow: inset 0 0 0 1px rgba(27, 94, 32, 0.08);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-portal {
    margin-top: 0.4rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
  }

  .turnos-btn {
    width: 100%;
    justify-content: center;
    min-height: 54px;
    padding: 0.95rem 1.1rem;
    border-radius: 18px;
    font-size: 0.96rem;
    font-weight: 700;
    color: #fff !important;
    background: linear-gradient(135deg, #1b5e20, #2e7d32, #66bb6a);
    border: none;
    box-shadow: 0 16px 34px rgba(27, 94, 32, 0.24);
  }

  .turnos-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 44px rgba(27, 94, 32, 0.28);
    background: linear-gradient(135deg, #145a24, #2e7d32, #7bc67e);
  }
  .pre-left{
	  display:none !important;
  }
  .pre-right {
    margin: 0 auto;
}
  
}

/* extra chico */
@media (max-width: 480px) {
  .nav-links {
    width: calc(100vw - 24px);
    right: -2px;
    padding: 0.85rem;
    border-radius: 22px;
  }

  .nav-links a {
    min-height: 50px;
    padding: 0.85rem 0.9rem;
    font-size: 0.95rem;
  }

  .hamburger {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }
}