/* ============================================================
   TALLER REGUEIRA — style.css
   Color principal: #3b83c5
   ============================================================ */

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

:root {
  --blue:       #3b83c5;
  --blue-dark:  #2567a8;
  --blue-light: #5fa0d8;
  --blue-pale:  #e8f2fb;
  --dark:       #12161d;
  --dark-mid:   #1e2530;
  --mid:        #4a5568;
  --light:      #f5f8fc;
  --white:      #ffffff;
  --border:     #d6e4f0;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --radius:     12px;
  --shadow:     0 8px 32px rgba(59,131,197,0.13);
  --shadow-lg:  0 16px 48px rgba(59,131,197,0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- TYPOGRAPHY HELPERS ----------------------------------- */
.label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
  display: block;
}
.label--light { color: rgba(255,255,255,0.7); }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--dark);
}
.section-header h2 span { color: var(--blue); }

/* ---- BUTTONS ---------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 4px;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 4px 16px rgba(59,131,197,0.3);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59,131,197,0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 4px;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
  transform: translateY(-2px);
}

/* ---- LOGO -------------------------------------------------- */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}
.logo__icon {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  background: url(logo.svg) center/contain no-repeat;
}
.logo__text {
  display: flex;
  flex-direction: column;
}
.logo__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: white;
  line-height: 1;
}
.logo__sub {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.03em;
  margin-top: 3px;
}
.logo--footer .logo__sub { color: rgba(255,255,255,0.5); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero__parallax {
  position: absolute;
  inset: -20% 0;
  background: url('general.webp') center/cover no-repeat;
  will-change: transform;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(12,18,28,0.88) 0%,
    rgba(18,30,50,0.75) 50%,
    rgba(59,131,197,0.25) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 120px 48px 80px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 0.95;
  color: white;
  margin-bottom: 24px;
}
.hero__title em {
  font-style: normal;
  color: var(--blue-light);
}
.hero__desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 480px;
  font-weight: 300;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(59,131,197,0.18);
  border: 1px solid rgba(59,131,197,0.4);
  color: var(--blue-light);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 0.03em;
}
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll span {
  display: block;
  width: 22px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 12px;
  position: relative;
}
.hero__scroll span::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: white;
  border-radius: 2px;
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0%   { opacity: 1; top: 5px; }
  100% { opacity: 0; top: 22px; }
}

/* ============================================================
   STRIP
   ============================================================ */
.strip {
  background: var(--blue);
  overflow: hidden;
  padding: 0;
}
.strip__inner {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white;
  animation: stripScroll 20s linear infinite;
}
.strip__inner span { padding: 0 28px; }
.strip__inner .sep { opacity: 0.5; padding: 0; }
@keyframes stripScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 100px 0;
  background: var(--white);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.about__img-tag {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--blue);
  color: white;
  padding: 14px 20px;
  border-radius: 8px;
  text-align: center;
  line-height: 1.2;
}
.about__img-tag strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}
.about__img-tag span {
  font-size: 0.75rem;
  opacity: 0.9;
}
.about__text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--dark);
}
.about__text h2 span { color: var(--blue); }
.about__text p {
  color: var(--mid);
  margin-bottom: 16px;
  font-size: 1.0rem;
}
.about__stats {
  display: flex;
  gap: 36px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat strong {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.stat span {
  font-size: 0.8rem;
  color: var(--mid);
  margin-top: 4px;
}

/* ============================================================
   PARALLAX BANNER
   ============================================================ */
.parallax-banner {
  position: relative;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.parallax-banner__bg {
  position: absolute;
  inset: -20% 0;
  background: url('https://images.unsplash.com/photo-1588058365548-9ded1f2c8b6e?w=1400&q=80') center/cover no-repeat;
  will-change: transform;
}
.parallax-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,25,40,0.82) 0%,
    rgba(59,131,197,0.55) 100%
  );
}
.parallax-banner__content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 0 24px;
}
.parallax-banner__content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 12px;
}
.parallax-banner__content p {
  font-size: 1.05rem;
  opacity: 0.85;
  font-weight: 300;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 100px 0;
  background: var(--light);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-light);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--blue-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
  font-size: 1.3rem;
  transition: background 0.3s, color 0.3s;
}
.service-card:hover .service-card__icon {
  background: var(--blue);
  color: white;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.6;
}

/* ============================================================
   ITV SECTION
   ============================================================ */
.itv-section {
  padding: 100px 0;
  background: var(--white);
}
.itv-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.itv-section__img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.itv-section__content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--dark);
  margin-bottom: 28px;
}
.itv-section__content h2 span { color: var(--blue); }
.itv-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.itv-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.0rem;
  color: var(--dark);
}
.itv-list li i {
  width: 24px;
  height: 24px;
  background: var(--blue-pale);
  color: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
}

/* ============================================================
   CLASSIC / RESTAURACIONES
   ============================================================ */
.classic-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.classic-section__bg {
  position: absolute;
  inset: -20% 0;
  background: url('restauracion.webp') center/cover no-repeat;
  will-change: transform;
}
.classic-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,15,28,0.88) 0%,
    rgba(30,45,70,0.70) 100%
  );
}
.classic-section__content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 600px;
  padding: 80px 0;
}
.classic-section__content h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.0;
  margin-bottom: 20px;
}
.classic-section__content h2 span { color: var(--blue-light); }
.classic-section__content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 36px;
  font-weight: 300;
  max-width: 480px;
}

/* ============================================================
   EXTRAS / FACILIDADES
   ============================================================ */
.extras {
  padding: 80px 0;
  background: var(--blue-pale);
}
.extras__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.extra-item {
  background: white;
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}
.extra-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.extra-item i {
  font-size: 1.8rem;
  color: var(--blue);
}
.extra-item span {
  font-size: 0.9rem;
  color: var(--mid);
  font-weight: 500;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 100px 0;
  background: var(--white);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact__hours {
  background: var(--light);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--border);
}
.contact__hours h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact__hours h3 i { color: var(--blue); }
.contact__hours table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
}
.contact__hours td {
  padding: 9px 0;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
}
.contact__hours td:first-child {
  font-weight: 600;
  color: var(--dark);
  width: 110px;
}
.contact__hours td:last-child { color: var(--mid); }
.contact__hours tr.closed td { color: #aaa; }
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact__info a, .contact__info p {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--mid);
  transition: color 0.2s;
}
.contact__info a:hover { color: var(--blue); }
.contact__info i {
  color: var(--blue);
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}
.contact__info .address {
  margin-top: 4px;
  font-size: 0.85rem;
}
.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.contact__map iframe {
  display: block;
}
.map-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--blue);
  color: white;
  padding: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.25s;
}
.map-cta:hover { background: var(--blue-dark); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark-mid);
  padding: 48px 0;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer .logo { margin-bottom: 0; }
.footer__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.footer__social {
  display: flex;
  gap: 16px;
}
.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.footer__social a:hover {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .extras__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { gap: 48px; }
  .itv-section__grid { gap: 48px; }
}

@media (max-width: 768px) {
  .hero__content { padding: 100px 24px 60px; }
  .hero__title { font-size: clamp(2.8rem, 10vw, 4.5rem); }

  .about__grid,
  .itv-section__grid,
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }

  .about__stats { gap: 24px; }
  .services__grid,
  .extras__grid { grid-template-columns: 1fr; }

  .contact__hours { padding: 28px 20px; }
  .classic-section__content { padding: 60px 0; }
  .parallax-banner { height: auto; padding: 60px 24px; }
}

@media (max-width: 480px) {
  .hero__badges { flex-direction: column; }
  .about__stats { flex-direction: column; gap: 20px; }
  .strip__inner { animation: none; white-space: normal; flex-wrap: wrap; justify-content: center; padding: 12px 16px; text-align: center; }
}
