/* ============================================================
   ALURA STUDIO — Stylesheet Principal
   Diseño: Minimalista, elegante, Mobile First
   ============================================================ */

/* ============ VARIABLES CSS ============ */
:root {
  --color-white: #FFFFFF;
  --color-offwhite: #F8F7F5;
  --color-cream: #F5F0E8;
  --color-gold: #C4A96A;
  --color-gold-light: rgba(196, 169, 106, 0.15);
  --color-dark: #1A1A18;
  --color-black: #0A0A08;
  --color-gray: #6B6B69;
  --color-gray-light: #E0DFDD;
  --color-whatsapp: #25D366;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', 'Helvetica Neue', sans-serif;

  --nav-height: 64px;
  --container-padding: 20px;
  --section-padding: 60px;
  --border-radius: 4px;

  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-duration: 0.4s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-dark);
  background-color: var(--color-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ============ UTILIDADES ============ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section-padding {
  padding: var(--section-padding) 0;
}

.text-center {
  text-align: center;
}

/* ============ TIPOGRAFÍA ============ */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.2;
  color: var(--color-black);
}

h1 {
  font-size: 2rem;
  letter-spacing: 0.02em;
}

h2 {
  font-size: 1.6rem;
  letter-spacing: 0.01em;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.1rem;
}

p {
  margin-bottom: 1em;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 12px;
  color: var(--color-black);
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: var(--color-gold);
  margin: 16px auto 0;
}

.section-subtitle {
  text-align: center;
  color: var(--color-gray);
  font-size: 0.9rem;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ============ BOTONES ============ */
.btn {
  display: inline-block;
  padding: 13px 32px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--border-radius);
  transition: all var(--transition-duration) var(--transition-smooth);
  text-align: center;
}

.btn-primary {
  background: var(--color-black);
  color: var(--color-white);
  border: 1px solid var(--color-black);
}

.btn-primary:hover {
  background: transparent;
  color: var(--color-black);
  border-color: var(--color-gold);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-white);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-black);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-black);
  border: 1px solid var(--color-black);
}

.btn-outline-dark:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-white);
  border: 1px solid var(--color-gold);
}

.btn-gold:hover {
  background: transparent;
  color: var(--color-gold);
}

/* ============ HEADER / NAVEGACIÓN ============ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  transition: all 0.3s var(--transition-smooth);
  display: flex;
  align-items: center;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header__logo img {
  height: 38px;
  width: auto;
}

/* — Menú hamburguesa — */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 1100;
  position: relative;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-black);
  transition: all 0.35s var(--transition-smooth);
  position: absolute;
}

.hamburger span:nth-child(1) { transform: translateY(-7px); }
.hamburger span:nth-child(2) { opacity: 1; }
.hamburger span:nth-child(3) { transform: translateY(7px); }

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

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

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

/* — Overlay menú móvil — */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--transition-smooth);
  z-index: 1050;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-overlay__list {
  text-align: center;
}

.nav-overlay__list li {
  margin: 20px 0;
}

.nav-overlay__list a {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--color-black);
  position: relative;
  transition: color 0.3s var(--transition-smooth);
}

.nav-overlay__list a:hover,
.nav-overlay__list a.active {
  color: var(--color-gold);
}

/* — Menú desktop — */
.nav-desktop {
  display: none;
}

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

.nav-desktop__list a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-dark);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s var(--transition-smooth);
}

.nav-desktop__list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-gold);
  transition: width 0.3s var(--transition-smooth);
}

.nav-desktop__list a:hover::after,
.nav-desktop__list a.active::after {
  width: 100%;
}

.nav-desktop__list a:hover,
.nav-desktop__list a.active {
  color: var(--color-black);
}

.header__cta {
  display: none;
}

.header__cta .btn {
  padding: 10px 24px;
  font-size: 0.72rem;
}

/* ============ PAGE HERO ============ */
.page-hero {
  position: relative;
  width: 100%;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: var(--nav-height);
  text-align: center;
}

.page-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 10, 8, 0.7), rgba(10, 10, 8, 0.35));
}

.page-hero__content {
  position: relative;
  z-index: 2;
  padding: 60px var(--container-padding);
  max-width: 700px;
}

.page-hero__title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--color-white);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.page-hero__subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
}

/* ============ HERO SECTION (HOME) ============ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 10, 8, 0.75) 0%, rgba(10, 10, 8, 0.25) 60%, rgba(10, 10, 8, 0.15) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--container-padding);
  max-width: 800px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--color-white);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero__buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

/* — Indicador de scroll — */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-indicator__line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.6));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

.scroll-indicator__text {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* ============ LÍNEAS DE DISEÑO (HOME) ============ */
.design-lines {
  background: var(--color-offwhite);
}

.design-lines__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.design-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.design-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition-smooth);
}

.design-card:hover .design-card__img {
  transform: scale(1.08);
}

.design-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px 20px;
  background: linear-gradient(to top, rgba(10, 10, 8, 0.7), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  transition: background 0.4s var(--transition-smooth);
}

.design-card:hover .design-card__overlay {
  background: linear-gradient(to top, rgba(10, 10, 8, 0.85), rgba(10, 10, 8, 0.1));
}

.design-card__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--color-white);
}

.design-card__arrow {
  font-size: 1.2rem;
  color: var(--color-gold);
  transition: transform 0.3s var(--transition-smooth);
}

.design-card:hover .design-card__arrow {
  transform: translateX(6px);
}

/* ============ POR QUÉ ALURA (HOME) ============ */
.why-alura {
  background: var(--color-white);
}

.why-alura__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.why-alura__features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-item__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 1.1rem;
}

.feature-item__text h4 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.feature-item__text p {
  font-size: 0.85rem;
  color: var(--color-gray);
  margin-bottom: 0;
  line-height: 1.6;
}

.why-alura__image {
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

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

/* ============ CTA FINAL (HOME) ============ */
.cta-final {
  background: var(--color-dark);
  text-align: center;
  padding: 60px var(--container-padding);
}

.cta-final__title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--color-white);
  margin-bottom: 14px;
}

.cta-final__subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.cta-final__buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

/* ============ SOBRE NOSOTROS ============ */
.philosophy {
  background: var(--color-white);
}

.philosophy__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.philosophy__text h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 300;
  margin-bottom: 20px;
  color: var(--color-black);
}

.philosophy__text p {
  color: var(--color-gray);
  font-size: 0.9rem;
  line-height: 1.8;
}

.philosophy__quote {
  border-left: 3px solid var(--color-gold);
  padding: 16px 20px;
  margin: 24px 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-dark);
  line-height: 1.6;
  background: var(--color-gold-light);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.philosophy__image {
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

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

/* — Estadísticas — */
.stats {
  background: var(--color-offwhite);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item__number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--color-gold);
  display: block;
  margin-bottom: 4px;
  line-height: 1;
}

.stat-item__label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-gray);
}

/* — Proceso — */
.process {
  background: var(--color-white);
}

.process__timeline {
  max-width: 640px;
  margin: 0 auto;
}

.process__step {
  display: flex;
  gap: 20px;
  margin-bottom: 36px;
  position: relative;
}

.process__step:last-child {
  margin-bottom: 0;
}

.process__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.process__step:not(:last-child) .process__number::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 36px;
  background: var(--color-gold-light);
}

.process__info h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  color: var(--color-black);
}

.process__info p {
  font-size: 0.85rem;
  color: var(--color-gray);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ============ PORTFOLIO ============ */
/* — Filtros — */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 8px 20px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--color-gray-light);
  background: transparent;
  color: var(--color-gray);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: var(--color-gold-light);
}

/* — Galería grid — */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.portfolio-item.hidden {
  display: none;
}

.portfolio-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition-smooth);
}

.portfolio-item:hover .portfolio-item__img {
  transform: scale(1.06);
}

.portfolio-item__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 14px;
  background: linear-gradient(to top, rgba(10, 10, 8, 0.75), transparent);
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.4s var(--transition-smooth);
}

.portfolio-item:hover .portfolio-item__overlay {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-item__category {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 4px;
}

.portfolio-item__name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 300;
  color: var(--color-white);
}

/* — Modal / Lightbox — */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 8, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--transition-smooth);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--color-white);
  border-radius: var(--border-radius);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.4s var(--transition-smooth);
  position: relative;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--color-dark);
  z-index: 10;
  cursor: pointer;
  transition: background 0.3s var(--transition-smooth);
}

.modal__close:hover {
  background: var(--color-white);
}

.modal__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.modal__body {
  padding: 24px 20px;
}

.modal__category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 8px;
  background: var(--color-gold-light);
  padding: 4px 12px;
  border-radius: 2px;
}

.modal__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: 12px;
  color: var(--color-black);
}

.modal__description {
  font-size: 0.88rem;
  color: var(--color-gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.modal__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ============ CONTACTO ============ */
.contact-section {
  background: var(--color-offwhite);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.contact-form {
  background: var(--color-white);
  padding: 28px 24px;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.form-group label .required {
  color: var(--color-gold);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-gray-light);
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--color-dark);
  background: var(--color-white);
  transition: border-color 0.3s var(--transition-smooth);
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236B6B69' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
  animation: fadeInUp 0.5s var(--transition-smooth);
}

.form-success.visible {
  display: block;
}

.form-success__icon {
  font-size: 3rem;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.form-success p {
  color: var(--color-gray);
  font-size: 0.9rem;
}

/* — Info contacto — */
.contact-info__item {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-info__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 0.9rem;
}

.contact-info__text h4 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85rem;
  margin-bottom: 4px;
  color: var(--color-black);
}

.contact-info__text p,
.contact-info__text a {
  font-size: 0.85rem;
  color: var(--color-gray);
  line-height: 1.6;
  margin-bottom: 0;
}

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

/* — Mapa — */
.map-section {
  background: var(--color-white);
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 16px;
}

.map-container iframe {
  display: block;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-gold);
  transition: color 0.3s var(--transition-smooth);
}

.map-link:hover {
  color: var(--color-dark);
}

/* — Blog próximamente — */
.blog-notice {
  border-left: 3px solid var(--color-gold);
  background: var(--color-cream);
  padding: 20px 24px;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  margin-top: 40px;
}

.blog-notice p {
  font-size: 0.88rem;
  color: var(--color-gray);
  line-height: 1.6;
  margin-bottom: 0;
}

.blog-notice strong {
  color: var(--color-dark);
}

/* ============ FOOTER ============ */
.footer {
  background: #000000;
  color: rgba(255, 255, 255, 0.6);
  padding: 50px 0 24px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 36px;
}

.footer__brand {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__brand img {
  height: 250px;
  width: auto;
  max-width: 100%;
  margin-bottom: 16px;
  filter: none;
}

.footer__slogan {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--color-gold);
  margin-bottom: 0;
}

.footer__contact p,
.footer__contact a {
  font-size: 0.83rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0;
}

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

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: all 0.3s var(--transition-smooth);
}

.footer__social a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.75rem;
  margin-bottom: 0;
}

.footer__blog-notice {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ============ WHATSAPP BOTÓN FLOTANTE ============ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.whatsapp-float__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: var(--color-white);
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
  animation: waPulse 2.5s ease-in-out infinite;
  text-decoration: none;
}

.whatsapp-float__btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.55); }
}

.whatsapp-float__tooltip {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 400;
  padding: 6px 14px;
  border-radius: var(--border-radius);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--transition-smooth);
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
  visibility: visible;
}

/* ============ ANIMACIONES SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============ MEDIA QUERIES ============ */

/* — Tablet: 768px — */
@media (min-width: 768px) {
  :root {
    --nav-height: 72px;
    --container-padding: 32px;
    --section-padding: 80px;
  }

  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }

  .section-title { font-size: 2rem; }

  /* Header */
  .header__logo img { height: 42px; }

  /* Hero */
  .hero__title { font-size: 2.8rem; }
  .hero__subtitle { font-size: 1rem; }
  .hero__buttons {
    flex-direction: row;
    justify-content: center;
  }

  /* Page hero */
  .page-hero { min-height: 45vh; }
  .page-hero__title { font-size: 2.8rem; }

  /* Líneas de diseño */
  .design-lines__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Por qué Alura */
  .why-alura__features {
    grid-template-columns: repeat(2, 1fr);
  }

  /* CTA final */
  .cta-final__title { font-size: 2.2rem; }
  .cta-final__buttons {
    flex-direction: row;
    justify-content: center;
  }

  /* Filosofía */
  .philosophy__grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  /* Estadísticas */
  .stat-item__number { font-size: 2.8rem; }

  /* Portfolio grid */
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  /* Modal */
  .modal__buttons {
    flex-direction: row;
  }

  /* Contacto */
  .contact__grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* — Desktop: 1024px — */
@media (min-width: 1024px) {
  :root {
    --container-padding: 40px;
    --section-padding: 100px;
  }

  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }

  .section-title { font-size: 2.2rem; }

  /* Header */
  .hamburger { display: none; }

  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .header__cta { display: block; }

  .header__logo img { height: 46px; }

  /* Hero */
  .hero__title { font-size: 3.2rem; }

  /* Page hero */
  .page-hero__title { font-size: 3.2rem; }

  /* Líneas de diseño */
  .design-lines__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Por qué Alura */
  .why-alura__grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
  }

  /* Portfolio grid */
  .portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }

  /* Modal */
  .modal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 900px;
  }

  .modal__image {
    aspect-ratio: auto;
    height: 100%;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
  }

  .modal__body {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1.5fr 1fr auto;
  }
}

/* — Desktop grande: 1280px — */
@media (min-width: 1280px) {
  :root {
    --container-padding: 48px;
    --section-padding: 120px;
  }

  h1 { font-size: 3.4rem; }

  .hero__title { font-size: 3.6rem; }
  .page-hero__title { font-size: 3.6rem; }

  .portfolio-grid { gap: 20px; }
}
