/* ================================================================
   EVELYN SOTOMAYOR · REALTOR · FLORIDA
   styles.css — Hoja de estilos principal
   
   🔵 GUÍA DE COLORES (para cambiarlos, edita las variables abajo):
      --gold:       color dorado (botones principales, acentos)
      --dark:       azul marino muy oscuro (fondo nav, textos principales)
      --mid:        gris azulado (textos secundarios)
      --light-bg:   gris muy claro (fondos de secciones alternas)
      --rose:       rosa polvoso (detalles decorativos)
   ================================================================ */

/* ---------------------------------------------------------------
   VARIABLES GLOBALES (colores, fuentes, sombras)
   --------------------------------------------------------------- */
:root {
  /* Paleta de colores — Edita solo los valores después del ":" */
  --gold:      #c9a96e;       /* Dorado mate — color principal de acción */
  --gold-dark: #b08a4f;       /* Dorado más oscuro (hover) */
  --dark:      #0f1e2e;       /* Azul marino muy oscuro */
  --dark-2:    #162438;       /* Azul marino secundario */
  --mid:       #4a5568;       /* Gris azulado — textos secundarios */
  --light-bg:  #f8f7f4;       /* Fondo claro crema */
  --white:     #ffffff;
  --rose:      #d4a5a5;       /* Rosa polvoso — detalles */
  --border:    #e2ddd6;       /* Color de bordes suaves */

  /* Fuentes */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Sombras */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:  0 8px 24px rgba(0,0,0,0.10);
  --shadow-lg:  0 20px 50px rgba(0,0,0,0.15);

  /* Bordes redondeados */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  /* Transición suave */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------------------------------------------------------------
   RESET Y BASE
   --------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ---------------------------------------------------------------
   TIPOGRAFÍA
   --------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.25;
  color: var(--dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }

p { color: var(--mid); }

/* ---------------------------------------------------------------
   CONTENEDOR Y UTILIDADES
   --------------------------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  margin: 0.75rem 0 1rem;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

/* ---------------------------------------------------------------
   BOTONES
   --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201,169,110,0.35);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-dark:hover {
  background: var(--dark-2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-large {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-search {
  width: 100%;
  justify-content: center;
  padding: 0.9rem 1.5rem;
}

/* ---------------------------------------------------------------
   NAVBAR
   --------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--transition);
  background: transparent;
}

/* Clase que se agrega con JS al hacer scroll */
.navbar.scrolled {
  background: var(--dark);
  padding: 0.8rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 700;
}

.logo-title {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--gold);
}
.nav-links a:hover::after {
  width: 100%;
}

/* Hamburguesa (móvil) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ---------------------------------------------------------------
   HERO / INICIO
   --------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;

  /* 🔵 IMAGEN DE FONDO — Cambia la URL por tu imagen o foto de portada */
  background-image: url('https://images.unsplash.com/photo-1560184897-ae75f418493e?w=1600&q=90');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Degradado oscuro para que el texto sea legible */
  background: linear-gradient(
    135deg,
    rgba(10, 20, 35, 0.88) 0%,
    rgba(10, 20, 35, 0.65) 60%,
    rgba(10, 20, 35, 0.4) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 1.5rem 4rem;
  max-width: 760px;
}

.hero-badge {
  display: inline-block;
  background: rgba(201,169,110,0.15);
  border: 1px solid rgba(201,169,110,0.4);
  color: var(--gold);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero-title {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  line-height: 1;
}

.stat span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* ---------------------------------------------------------------
   ABOUT / SOBRE MÍ
   --------------------------------------------------------------- */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-photo {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: center 15%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-card-float {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-md);
}

.about-card-float i {
  font-size: 1.5rem;
  color: var(--gold);
}

.about-card-float strong {
  display: block;
  font-size: 0.9rem;
  color: var(--dark);
}

.about-card-float span {
  font-size: 0.75rem;
  color: var(--mid);
}

.about-text .section-label {
  margin-bottom: 0.75rem;
  display: inline-block;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-bio {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.about-specialties {
  margin: 1.75rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.about-specialties li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--dark);
}

.about-specialties i {
  color: var(--gold);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ---------------------------------------------------------------
   PROPIEDADES
   --------------------------------------------------------------- */
.properties {
  background: var(--light-bg);
}

/* Caja de búsqueda */
.search-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.search-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 1rem;
  align-items: end;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.search-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.search-field label i {
  color: var(--gold);
}

.search-field select {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--white);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a5568' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: var(--transition);
}

.search-field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.15);
}

.search-btn-wrapper {
  min-width: 200px;
}

.search-external {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.search-external p {
  font-size: 0.85rem;
  color: var(--mid);
  margin: 0;
}

.link-external {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.link-external:hover {
  color: var(--gold-dark);
}

/* Tarjetas de áreas */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.area-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.area-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.area-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.area-card:hover img {
  transform: scale(1.05);
}

.area-info {
  padding: 1.25rem;
}

.area-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--dark);
}

.area-info p {
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.5;
}

/* ---------------------------------------------------------------
   BLOG
   --------------------------------------------------------------- */
.blog {
  background: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.blog-img-link {
  position: relative;
  display: block;
  overflow: hidden;
}

.blog-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-img {
  transform: scale(1.06);
}

.blog-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
}

.blog-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-date {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.blog-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-body h3 a {
  color: var(--dark);
}
.blog-body h3 a:hover {
  color: var(--gold);
}

.blog-body p {
  font-size: 0.88rem;
  flex: 1;
  margin-bottom: 1.25rem;
}

.blog-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.blog-link:hover {
  gap: 0.7rem;
  color: var(--gold-dark);
}

/* ---------------------------------------------------------------
   TESTIMONIOS
   --------------------------------------------------------------- */
.testimonials {
  background: var(--light-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-featured {
  background: var(--dark);
  border-color: var(--dark);
  transform: translateY(-12px);
}

.testimonial-featured:hover {
  transform: translateY(-16px);
}

.testimonial-featured p,
.testimonial-featured .stars {
  color: rgba(255,255,255,0.9);
}

.stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--dark);
  font-style: normal;
}

.testimonial-featured .testimonial-author strong {
  color: var(--white);
}

.testimonial-author span {
  font-size: 0.78rem;
  color: var(--mid);
}

.testimonial-featured .testimonial-author span {
  color: rgba(255,255,255,0.6);
}

/* ---------------------------------------------------------------
   CTA
   --------------------------------------------------------------- */
.cta {
  background: var(--dark);
}

.cta-box {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta .section-label {
  color: var(--gold);
}

.cta h2 {
  color: var(--white);
  margin: 1rem 0 1.5rem;
}

.cta p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------------------------------------------------------------
   CONTACTO
   --------------------------------------------------------------- */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}

.contact-info .section-label {
  margin-bottom: 0.75rem;
  display: inline-block;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info > p {
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--dark);
}

.contact-details i {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-bg);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.contact-details a:hover {
  color: var(--gold);
}

/* Formulario */
.contact-form-wrapper {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

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

.form-group input,
.form-group textarea {
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.12);
}

.form-note {
  font-size: 0.82rem;
  text-align: center;
  color: var(--mid);
}

.form-note a {
  color: var(--gold);
  font-weight: 600;
}

/* Mensaje de éxito */
.form-success {
  text-align: center;
  padding: 2rem;
}

.form-success i {
  font-size: 3rem;
  color: #48bb78;
  margin-bottom: 1rem;
}

.form-success h3 {
  margin-bottom: 0.5rem;
}

.form-success p {
  margin-bottom: 1.5rem;
}

/* ---------------------------------------------------------------
   FOOTER
   --------------------------------------------------------------- */
.footer {
  background: var(--dark-2);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  display: block;
}

.footer-brand .logo-title {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--dark);
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links li,
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.25rem;
}

.footer-legal {
  font-size: 0.75rem !important;
}

/* ---------------------------------------------------------------
   BOTÓN FLOTANTE WHATSAPP
   --------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  animation: pulse-green 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  background: #1da851;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--dark);
  color: var(--white);
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45); }
  50%       { box-shadow: 0 6px 32px rgba(37, 211, 102, 0.7); }
}

/* ---------------------------------------------------------------
   ANIMACIONES DE ENTRADA (se activan con JS al hacer scroll)
   --------------------------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------------------
   RESPONSIVE — TABLET (hasta 1024px)
   --------------------------------------------------------------- */
@media (max-width: 1024px) {

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-photo {
    height: 380px;
  }

  .about-card-float {
    right: 1rem;
    bottom: -1rem;
  }

  .about-specialties {
    grid-template-columns: 1fr;
  }

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

  .search-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ---------------------------------------------------------------
   RESPONSIVE — MÓVIL (hasta 768px)
   --------------------------------------------------------------- */
@media (max-width: 768px) {

  .section-padding {
    padding: 4rem 0;
  }

  /* Nav móvil */
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .nav-links.open {
    display: flex;
  }

  /* Hero */
  .hero {
    background-attachment: scroll;
  }

  .hero-content {
    padding: 6rem 1.5rem 3rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stats {
    gap: 1rem;
  }

  /* Blog */
  .blog-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonios */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-featured {
    transform: none;
  }

  /* Búsqueda */
  .search-grid {
    grid-template-columns: 1fr;
  }

  /* Áreas */
  .areas-grid {
    grid-template-columns: 1fr;
  }

  /* CTA */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Formulario */
  .contact-form-wrapper {
    padding: 1.5rem;
  }
}

/* ---------------------------------------------------------------
   RESPONSIVE — MÓVIL PEQUEÑO (hasta 480px)
   --------------------------------------------------------------- */
@media (max-width: 480px) {

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
  }

  .stat-divider {
    display: none;
  }

  .btn-large {
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
  }

  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
  }
}
