
:root{
  --gold:#c6a34a;
  --dark:#111;
  --light:#ffffff;
  --muted:#f7f7f7;
  --thumb-w: 15px; /* requested very small thumbnails (~10x15px); height set below */
  --thumb-h: 10px;
  --radius: 16px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;background:#fff;color:#222;line-height:1.6}
a{color:inherit;text-decoration:none}
.container{width: min(1100px, 92%); margin: 0 auto;}

.header{position:sticky;top:0;background:#fffbd6a6;backdrop-filter:saturate(1.2) blur(8px);z-index:99;border-bottom:1px solid #eee}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:70px;}

.flags{display:flex;gap:.5rem;align-items:center}
.flag-btn{font-size:20px;border:none;background:transparent;cursor:pointer}
.brand{font-weight:700;color:var(--gold);display:flex;align-items:center;gap:.6rem}
.brand .tooth{width:24px;height:24px}
.nav{display:flex;gap:1rem;align-items:center}
.nav a{padding:.4rem .6rem;border-radius:999px;color:#333}
.nav a:hover{background:#f2efe6}

.hero{position:relative;overflow:hidden;padding:90px 0;background:#fff}
/* marble background for hero only */
.hero::before{
  content:"";position:absolute;inset:0;
  background:
  radial-gradient(1200px 500px at 10% 10%,rgba(255,255,255,0.6),transparent 60%),
  radial-gradient(1000px 600px at 80% 20%,rgba(255,255,255,0.4),transparent 60%),
  linear-gradient(135deg, #f1efe9 0%, #ffffff 40%, #f5f1e6 60%, #ffffff 100%);
  mix-blend:normal;
}
.hero .marble-veins{
  position:absolute;inset:0;opacity:.35;pointer-events:none;
  background-image:
    repeating-linear-gradient(30deg, rgba(190,160,90,.2) 0 2px, transparent 2px 14px),
    repeating-linear-gradient(120deg, rgba(120,100,70,.18) 0 1px, transparent 1px 18px);
  filter:blur(1.5px);
}
.hero .content{position:relative;z-index:2}
.hero h1{font-size:clamp(28px,4vw,46px);margin:0;color:#1a1a1a}
.slogan{font-size:clamp(16px,2vw,20px);color:#444;margin:.75rem 0 1rem}
.badges{display:flex;flex-wrap:wrap;gap:.6rem;margin:1rem 0}
.badge{background:linear-gradient(180deg,#fff, #f7f3e6);border:1px solid #e7dec7;color:#6d581e;padding:.5rem .75rem;border-radius:999px;font-weight:600}
.cta{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1rem}
.btn{padding:.75rem 1rem;border-radius:999px;border:1px solid #e6d7a8;background:#fff;color:#6b5a25;font-weight:700;cursor:pointer}
.btn.gold{background:linear-gradient(180deg,#ffe8a6,#ffd269);border-color:#d8b150}
.btn:hover{transform:translateY(-1px)}

.section{padding:64px 0;background:#fff}
.section h2{font-size:clamp(24px,3vw,34px);margin:0 0 20px;color:var(--gold)}
.two-col{display:grid;grid-template-columns:1.1fr .9fr;gap:26px;align-items:center}
@media (max-width:900px){.two-col{grid-template-columns:1fr;}.nav{display:none}}

.card{background:#fff;border:1px solid #eee;border-radius:var(--radius);padding:20px;box-shadow:0 8px 30px rgba(0,0,0,.04)}

.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
@media (max-width:700px){.about-grid{grid-template-columns:1fr}}

.about-person{display:flex;gap:16px;align-items:center}
.about-person img{width:90px;height:120px;object-fit:cover;border-radius:14px;border:1px solid #eee}
.about-person .name{font-weight:800;color:#222}
.about-person .role{color:#666;font-size:.95rem}

.price-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-top:10px}
.price{border:1px solid #eee;border-radius:16px;padding:16px;background:#fff}
.price .p{font-size:1rem;color:#333}
.price .v{font-weight:800;color:#111}
.price small{color:#777}

.carousel{position:relative;overflow:hidden;border:1px solid #eee;border-radius:16px;padding:16px;background:#fff}
.carousel-track{display:flex;gap:10px;transition:transform 600ms ease-in-out;align-items:center}
.carousel img{width:var(--thumb-w);height:var(--thumb-h);object-fit:cover;border-radius:8px;border:1px solid #e5e1d0}
.carousel .caption{font-size:.85rem;color:#666;margin-top:8px}
.carousel.dots{display:flex;gap:6px;justify-content:center;margin-top:8px}

.testimonial{min-width:280px;max-width:320px}
.testimonial .stars{letter-spacing:2px;color:#f0b90b}
.testimonial .name{font-weight:700;margin-top:6px}

.contact-actions{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:16px}

.footer{padding:40px 0;background:#faf7ef;color:#7a6f4a;border-top:1px solid #efe6ce;text-align:center}

.cert-logos{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px}
.cert{padding:8px 12px;border:1px dashed #d9cba0;border-radius:12px;color:#7a6f4a;background:#fff}

.map-wrap{border:1px solid #eee;border-radius:16px;overflow:hidden;height:380px}


/* --- Our Work Grid Styles --- */
.our-work-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  justify-items: center;
  align-items: center;
  margin-top: 20px;
}

.our-work-gallery img {
  height: 150px;
  width: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.our-work-gallery img:hover {
  transform: scale(1.05);
}


/* --- Testimonios y Casos Clínicos Grid Styles --- */
.testimonials-gallery, .cases-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: start;
  margin-top: 30px;
}

.testimonials-gallery img,
.cases-gallery img {
  height: 150px;
  width: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.testimonials-gallery img:hover,
.cases-gallery img:hover {
  transform: scale(1.05);
}


/* --- Formulario de Contacto Moderno --- */
.contact-form {
  max-width: 600px;
  margin: 40px auto;
  padding: 25px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0px 6px 18px rgba(0,0,0,0.1);
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.8em;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 1em;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #4a90e2;
  box-shadow: 0px 0px 6px rgba(74,144,226,0.3);
  outline: none;
}

.contact-form button {
  width: 100%;
  padding: 14px;
  background: #4a90e2;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background: #357ab8;
  transform: scale(1.02);
}


/* --- Header / Menú Moderno --- */
header {
  position: sticky;
  top: 0;
  width: 100%;
  background: #ffffff;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
  z-index: 1000;
}

header .logo {
  font-size: 1.6em;
  font-weight: bold;
  color: #4a90e2;
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  font-size: 1.1em;
  color: #333;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
  background: #4a90e2;
  color: #fff;
}

/* --- Resultados (fotos más grandes y elegantes) --- */
.resultados-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.resultados-gallery img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0px 6px 14px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.resultados-gallery img:hover {
  transform: scale(1.05);
}


/* --- Footer Moderno --- */
footer {
  background: #f8f9fa;
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid #e0e0e0;
  margin-top: 50px;
}

footer .footer-content {
  max-width: 900px;
  margin: 0 auto;
}

footer .footer-logo {
  font-size: 1.5em;
  font-weight: bold;
  color: #4a90e2;
  margin-bottom: 15px;
  display: block;
}

footer p {
  color: #666;
  font-size: 0.95em;
  margin-bottom: 20px;
}

footer .social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

footer .social-icons a {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #4a90e2;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

footer .social-icons a:hover {
  background: #357ab8;
  transform: scale(1.1);
}

footer small {
  color: #999;
  font-size: 0.85em;
}
