/*
Theme Name: Espacio Aurema Media
Theme URI: https://espacioaurema.com/
Author: Idus
Description: Tema one page para Espacio Aurema con importacion de imagenes a Medios.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: espacio-aurema
*/

/* Reset y variables */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #f5efe8;
  --surface: #fffaf5;
  --primary: #a36a3f;
  --primary-dark: #6f3f23;
  --accent: #d7b06a;
  --text: #3d332b;
  --muted: #7f6c5f;
  --shadow: 0 20px 50px rgba(60, 40, 20, 0.08);
  --radius: 30px;
  --transition: all 0.35s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
a {
  font-family: inherit;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  color: var(--primary-dark);
  line-height: 1.05;
}

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

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 99;
  width: 100%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(158, 129, 94, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 20px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-icon {
  width: 64px;
  height: 64px;
}

.brand-label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand h1 {
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  margin-top: 3px;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  font-weight: 500;
  color: var(--text);
  transition: color 0.25s ease;
}

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

.hero {
  position: relative;
  padding: 130px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: rgba(211, 161, 100, 0.16);
  top: -120px;
  right: -180px;
  z-index: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 560px;
}

.eyebrow,
.section-heading span,
.contacto-info span,
.destacado-text span {
  display: inline-block;
  margin-bottom: 1rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--muted);
}

.hero-copy h2 {
  font-size: clamp(3rem, 4.4vw, 4.8rem);
  margin-bottom: 1.2rem;
}

.hero-copy p {
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 16px 32px;
  transition: var(--transition);
  text-decoration: none;
  font-weight: 600;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: #8f5a3c;
}

.btn-secondary {
  background: rgba(163, 106, 63, 0.08);
  color: var(--text);
  border: 1px solid rgba(163, 106, 63, 0.22);
}

.btn-secondary:hover {
  background: rgba(163, 106, 63, 0.16);
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-frame {
  position: absolute;
  inset: 16px auto auto 16px;
  width: 100%;
  height: calc(100% - 32px);
  border-radius: 42px;
  border: 1px solid rgba(163, 106, 63, 0.18);
  z-index: 0;
}

.hero-image {
  width: 100%;
  max-width: 560px;
  border-radius: 42px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-heading h2,
.destacado-text h2,
.contacto-info h2 {
  font-size: clamp(2rem, 2.5vw, 3rem);
  margin-top: 0.65rem;
}

.servicios {
  padding: 100px 0;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.servicio-card {
  min-height: 120px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 14px;
  text-align: left;
  background: var(--surface);
  border: 1px solid rgba(163, 106, 63, 0.12);
  border-radius: 24px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.servicio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 56px rgba(60, 40, 20, 0.12);
}

.servicio-card img {
  grid-row: 1 / span 2;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.servicio-card h3 {
  margin-bottom: 0.45rem;
  color: var(--primary-dark);
  font-size: 1.02rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.servicio-card p {
  font-size: 0.86rem;
  line-height: 1.35;
}

.galeria {
  padding: 100px 0;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.galeria-item img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 28px;
  transition: transform 0.35s ease;
}

.galeria-item img:hover {
  transform: scale(1.04);
}

.activacion {
  padding: 100px 0 60px;
  background: rgba(255, 255, 250, 0.95);
}

.activacion .section-heading {
  margin-bottom: 2.5rem;
}

.activacion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.activacion-card {
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(163,106,63,0.18);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,0.94);
}

.activacion-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.activacion-card-copy {
  padding: 28px 24px 32px;
}

.activacion-card-copy h3 {
  margin-bottom: 1rem;
  color: var(--primary-dark);
  font-size: 1.3rem;
}

.activacion-card-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.que-sucede {
  padding: 90px 0 70px;
}

.sucede-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.sucede-card {
  display: grid;
  gap: 16px;
  background: rgba(255,255,255,0.92);
  border-radius: 28px;
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(163, 106, 63, 0.14);
}

.sucede-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 22px;
}

.sucede-card h3 {
  font-size: 1.05rem;
  margin-top: 0.5rem;
  color: var(--primary-dark);
}

.sucede-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.destacado {
  padding: 100px 0;
}

.destacado-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.destacado-text h2 {
  margin-bottom: 1rem;
}

.destacado-text p {
  max-width: 520px;
}

.destacado-image {
  width: 100%;
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.sobre-cristina {
  padding: 100px 0;
  background: rgba(255, 250, 245, 0.95);
}

.cristina-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.cristina-image img {
  width: 100%;
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.cristina-text h2 {
  margin-bottom: 1rem;
}

.cristina-text p {
  margin-bottom: 1rem;
}

.contacto {
  padding: 100px 0;
  background: #69422a;
  color: white;
}

.contacto-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: flex-start;
}

.contacto-info h2 {
  margin: 1rem 0 1.2rem;
  color: white;
}

.contacto-info p,
.datos-contacto p {
  margin-bottom: 1rem;
}

.datos-contacto p strong {
  color: white;
}

.contacto-form {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 32px;
  padding: 34px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
}

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

.form-group label {
  display: block;
  margin-bottom: 10px;
  color: #f6efea;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 16px 18px;
  background: rgba(255,255,255,0.08);
  color: white;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, white 50%),
    linear-gradient(135deg, white 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.form-group select option {
  color: #333;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.72);
}

.btn-primary {
  width: fit-content;
}

.footer {
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.footer-inner {
  display: flex;
  justify-content: center;
  color: rgba(255,255,255,0.74);
}

@media (max-width: 980px) {
  .hero-inner,
  .destacado-inner,
  .cristina-inner,
  .contacto-inner,
  .galeria-grid {
    grid-template-columns: 1fr;
  }

  .servicios-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .activacion-grid,
  .sucede-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    padding-top: 120px;
  }

  .galeria-item img {
    height: 280px;
  }
}

@media (max-width: 680px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding-top: 100px;
  }

  .hero-copy h2 {
    font-size: 2.5rem;
  }

  .section-heading,
  .contacto-info,
  .destacado-text {
    text-align: center;
  }

  .contacto-inner {
    grid-template-columns: 1fr;
  }

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

  .activacion-grid,
  .sucede-grid {
    grid-template-columns: 1fr;
  }

  .activacion-card img {
    height: 360px;
  }

  .sucede-card img {
    height: 240px;
  }

  .contacto-form {
    padding: 28px;
  }
}

@media (max-width: 480px) {
  .hero-copy p,
  .destacado-text p,
  .cristina-text p,
  .section-heading h2 {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .hero-inner {
    gap: 2rem;
  }

  .hero-frame {
    display: none;
  }
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 110;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: transparent;
  text-decoration: none;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 36px rgba(0, 0, 0, 0.2);
}

.whatsapp-float img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 520px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }
}
