/* ============================================
   CLÍNICA DENTAL SONRISA — Estilos
   ============================================ */

/* --- Reset & Base --- */
.card__icon{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom:20px;
}

.card__icon img{
  width:80px;
  height:80px;
  object-fit:contain;
}
.serviciosSwiper{
  padding:20px 0 60px;
}

.serviciosSwiper .swiper-slide{
  display:flex;
  justify-content:center;
  align-items:stretch;
  height:auto;
}

/* Todas las tarjetas tendrán exactamente el mismo tamaño */
.serviciosSwiper .card{
  width:100%;
  max-width:300px;
  min-height:270px;

  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

.serviciosSwiper .card__title{
  min-height:55px;
}

.serviciosSwiper .card__text{
  flex:1;
}

.serviciosSwiper .swiper-button-next,
.serviciosSwiper .swiper-button-prev{
  color:#009688;
}

.serviciosSwiper .swiper-pagination-bullet-active{
  background:#009688;
}
.teamSwiper{
  padding:20px 0 60px;
}

.teamSwiper .swiper-slide{
  display:flex;
  justify-content:center;
  align-items:stretch;
  height:auto;
}

.teamSwiper .team{
  width:100%;
  max-width:340px;
}

.teamSwiper .swiper-button-next,
.teamSwiper .swiper-button-prev{
  color:#009688;
}

.teamSwiper .swiper-pagination-bullet-active{
  background:#009688;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.header__logo-icon {
  width: 50px;      /* Ajusta el tamaño a tu gusto */
  height: 50px;
  object-fit: contain;
}


*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #1a1a2e;
  background: #eef9ff;
  line-height: 1.6;
}

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

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

ul { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Colores --- */
:root {
  --primary: #00bcd4;
  --primary-dark: #0097a7;
  --accent: #0d47a1;
  --accent-light: #1565c0;
  --bg-alt: #f0faff;
  --text: #1a1a2e;
  --text-light: #555;
  --white: #fff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --radius: 12px;
}

/* --- Botones --- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn--whatsapp {
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.btn--whatsapp:hover {
  background: #1da851;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  z-index: 1000;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

.header__logo-icon {
  font-size: 1.5rem;
}

.header__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--accent);
  padding: 4px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__menu {
  display: flex;
  gap: 24px;
}

.header__menu a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.3s;
}

.header__menu a:hover {
  color: var(--primary-dark);
}

.header__btn {
  padding: 10px 22px;
  font-size: 0.9rem;
}
/*==================================
  SOBRE NOSOTROS
==================================*/

.about{
  padding:90px 0;
  background: #fff;;
}

.about__content{

  display:grid;

  grid-template-columns:2fr 1fr;

  gap:70px;

  align-items:center;

  margin-top:50px;

}

.about__title{

  font-size:2rem;

  color:var(--accent);

  margin-bottom:25px;

  font-weight:700;

}

.about__text p{

  font-size:1.1rem;

  line-height:1.9;

  color:#555;

  margin-bottom:18px;

}

.about__image{

  display:flex;

  justify-content:center;

}

.about__image img{

  width:100%;

  max-width:380px;

  border-radius:10px;

  object-fit:cover;

  box-shadow:0 15px 35px rgba(0,0,0,.15);

}

/* Responsive */

@media (max-width:900px){

  .about__content{

      grid-template-columns:1fr;

      text-align:center;

  }

  .about__image{

      order:-1;

  }

}
.servicios-esteticos{
  background:#eef9ff;
}
/*==================================
  TECNOLOGÍA
==================================*/

.tech-section{

  padding:90px 0;

  background:#eef9ff;

}

.tech-section__grid{

  display:grid;

  grid-template-columns:repeat(2,1fr);

  gap:35px;

  margin-top:50px;

}

.tech-section__card{

  background:#fff;

  padding:35px;

  border-radius:20px;

  box-shadow:0 10px 35px rgba(0,0,0,.08);

  text-align:center;

  transition:.3s;

}

.tech-section__card:hover{

  transform:translateY(-5px);

}

.tech-section__title{

  color:var(--accent);

  font-size:1.6rem;

  margin-bottom:18px;

}

.tech-section__text{

  color:#555;

  line-height:1.8;

  font-size:1.05rem;

  margin-bottom:30px;

}

.tech-section__image{

  width:100%;

  height:240px;

  object-fit:cover;

  border-radius:15px;

}

/* Responsive */

@media (max-width:900px){

  .tech-section__grid{

      grid-template-columns:repeat(2,1fr);

      gap:15px;

  }

  .tech-section__card{

      padding:20px;

  }

  .tech-section__title{

      font-size:1.15rem;

  }

  .tech-section__text{

      font-size:.95rem;

      line-height:1.6;

  }

  .tech-section__image{

      height:160px;

  }

}




/* --- Hero --- */
.hero {
  padding: 160px 0 100px;

  background:
   
    url("img/fondo.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  text-align: center;
}

.hero__inner{
    max-width:720px;
    margin:auto;
}

.hero__title{
    font-size:2.8rem;
    font-weight:800;
    line-height:1.2;
    color:var(--accent);
    margin-bottom:20px;
}

.hero__subtitle{
    font-size:1.15rem;
    color:var(--text-light);
    margin-bottom:32px;
}

.faq-section{
  background:#eef9ff;
}

.equipo-section{
  background:#eef9ff;
}

/* --- Section --- */
.section {
  padding: 80px 0;
}

.section--alt {
  background: #fff;
}
.servicios-esteticos{
    background:#eef9ff;
}
.section__title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: var(--accent);
  margin-bottom: 12px;
}

.section__desc {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 48px;
  font-size: 1.05rem;
}

/* --- Grids --- */
.grid {
  display: grid;
  gap: 28px;
}

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

/* --- Card (servicios) --- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.card__icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--accent);
}

.card__text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* --- Feature (por qué) --- */
.feature {
  text-align: center;
  padding: 32px 20px;
}

.feature__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.feature__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.feature__text {
  color: var(--text-light);
  font-size: 0.95rem;
  max-width: 320px;
  margin: 0 auto;
}

/* --- Team --- */
.team {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 20px 28px;
  box-shadow: var(--shadow);
}

.team__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 4px solid var(--primary);
}

.team__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.team__role {
  font-size: 0.88rem;
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 10px;
}

.team__text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* --- FAQ (acordeón) --- */
.faq {
  max-width: 700px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid #d4e8f0;
}

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

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

.faq__arrow {
  font-size: 0.8rem;
  transition: transform 0.3s;
  color: var(--primary);
}

.faq__item.open .faq__arrow {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq__item.open .faq__answer {
  max-height: 300px;
  padding-bottom: 18px;
}

.faq__answer p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Formulario --- */
.form {
  max-width: 560px;
  margin: 0 auto;
}

.form__group {
  margin-bottom: 20px;
}

.form__label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--text);
}

.form__input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #d4e8f0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.3s;
  background: var(--white);
}

.form__input:focus {
  outline: none;
  border-color: var(--primary);
}

.form__input.error {
  border-color: #e74c3c;
}

.form__error {
  display: none;
  color: #e74c3c;
  font-size: 0.82rem;
  margin-top: 4px;
}

.form__error.visible {
  display: block;
}

.form__textarea {
  resize: vertical;
  min-height: 80px;
}

.form__btn {
  width: 100%;
  margin-top: 8px;
}

.form__success {
  display: none;
  max-width: 560px;
  margin: 24px auto 0;
  padding: 20px;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: var(--radius);
  color: #155724;
  font-weight: 600;
  text-align: center;
}

.form__success.visible {
  display: block;
}

/* --- Contacto --- */
.contact__grid {
  align-items: start;
}

.contact__item {
  margin-bottom: 20px;
}

.contact__label {
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 2px;
}

.contact__item p,
.contact__item a {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact__item a:hover {
  color: var(--primary-dark);
}

.contact__map iframe {
  width: 100%;
  border-radius: var(--radius);
}

/* --- Footer --- */
.footer {
  background: var(--accent);
  color: #e0f0ff;
  padding: 40px 0 28px;
  text-align: center;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer__links a {
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer__links a:hover {
  color: #fff;
}

.footer__copy {
  font-size: 0.85rem;
}

.footer__demo {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header__toggle {
    display: block;
  }

  .header__nav {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 24px 20px 32px;
    gap: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    z-index: 999;
  }

  .header__nav.open {
    transform: translateY(0);
  }

  .header__menu {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .header__btn {
    width: 100%;
    text-align: center;
  }

  .hero {
    padding: 120px 0 70px;
  }

  .hero__title {
    font-size: 1.8rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .section {
    padding: 56px 0;
  }

  .section__title {
    font-size: 1.5rem;
  }

  .grid--4,
  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }

  .btn--lg {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  .contact__grid {
    gap: 32px;
  }

  .footer__links {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.5rem;
  }

  .container {
    padding: 0 16px;
  }
}
