/* ===========================================================
  Archivo: /style.css
  Descripción: Estilos globales – Diseño Minimalista + Neo-brutalismo
  Autor: Inversión AR
=========================================================== */

/* --------------------------- Variables --------------------------- */
:root {
  /* Analógica azul-turquesa */
  --hue: 195;
  --color-primary: hsl(var(--hue) 90% 45%);
  --color-primary-dark: hsl(var(--hue) 90% 25%);
  --color-secondary: hsl(calc(var(--hue) + 15) 80% 50%);
  --color-accent: hsl(calc(var(--hue) - 15) 85% 55%);
  --color-light: #f5f7fa;
  --color-dark: #222;
  --color-muted: #666;
  --radius: 6px;
  --gap: clamp(1rem, 2vw, 2rem);

  /* Tipografía */
  --font-head: 'Roboto', sans-serif;
  --font-body: 'Lato', sans-serif;
}

/* --------------------------- Global --------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html,
body {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background: var(--color-light);
  color: var(--color-dark);
  line-height: 1.55;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color .3s ease;
}

a:hover,
a:focus { color: var(--color-accent); }

/* --------------------------- Containers --------------------------- */
.container {
  width: 90%;
  max-width: 1200px;
  margin-inline: auto;
}

.section {
  padding-block: 4rem;
}

.section--alt {
  background: linear-gradient(
      135deg,
      hsl(var(--hue) 100% 97%) 0%,
      hsl(calc(var(--hue) + 20) 100% 96%) 100%
  );
}

.section__title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-align: center;
  margin-bottom: var(--gap);
  color: var(--color-dark);
  text-shadow: 1px 1px 3px rgba(0,0,0,.3);
}

/* --------------------------- Header --------------------------- */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: #fff;
  border-bottom: 2px solid var(--color-dark);
  z-index: 50;
}

.header__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: .75rem;
}

.logo a { font-family: var(--font-head); font-size: 1.4rem; }

.nav { display: flex; }

.nav__list {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}

.nav__list a {
  font-weight: 600;
  position: relative;
}

.nav__list a::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: -4px;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform .3s ease;
}

.nav__list a:hover::after { transform: scaleX(1); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger span {
  width: 24px;
  height: 3px;
  background: var(--color-dark);
}

/* --------------------------- Hero --------------------------- */
.hero {
  position: relative;
  padding-block: 6rem 5rem;
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background-image:
    linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
    url('image/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  perspective: 800px; /* 3D base */
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  transform: rotateX(15deg);
  animation: heroTilt 6s infinite alternate ease-in-out;
}

@keyframes heroTilt {
  to { transform: rotateX(-15deg); }
}

.btn {
  display: inline-block;
  padding: .9rem 2.4rem;
  border: 2px solid var(--color-dark);
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius);
  cursor: pointer;
  transform: translateZ(0);
  transition: transform .2s, box-shadow .2s;
}

.btn:hover,
.btn:focus {
  transform: translateY(-4px);
  box-shadow: 0 6px 0 0 var(--color-primary-dark);
}

/* --------------------------- Cards --------------------------- */
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 2px solid var(--color-dark);
  border-radius: var(--radius);
  padding: 1.25rem;
  gap: .75rem;
  transition: transform .35s cubic-bezier(.25,.46,.45,.94);
}

.card:hover {
  transform: translateY(-6px) rotateX(4deg) rotateY(-4deg);
}

.card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: var(--radius);
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 auto;
}

/* Tag */
.tag {
  display: inline-block;
  background: var(--color-secondary);
  color: #fff;
  padding: .25rem .75rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
}

/* --------------------------- Process Layout --------------------------- */
.process {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  justify-content: center;
}

/* --------------------------- Gallery --------------------------- */
.gallery {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.gallery figure { overflow: hidden; border: 2px solid var(--color-dark); }
.gallery img { transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.1) rotate(3deg); }

/* --------------------------- Community & Text Blocks --------------------------- */
.section p { max-width: 70ch; margin-inline: auto; }

/* --------------------------- Contact Form --------------------------- */
.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 600px;
  margin-inline: auto;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

input[type="text"],
input[type="email"],
textarea {
  padding: .8rem 1rem;
  border: 2px solid var(--color-dark);
  border-radius: var(--radius);
  font-family: var(--font-body);
  resize: vertical;
  background: #fff;
}

input:focus,
textarea:focus { outline: 2px solid var(--color-primary); }

/* --------------------------- Footer --------------------------- */
.footer {
  background: #fff;
  border-top: 2px solid var(--color-dark);
  padding-block: 2rem;
  text-align: center;
  font-size: .95rem;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  margin-bottom: .8rem;
}

.footer .social a {
  font-weight: 600;
  margin-inline: .25rem;
  position: relative;
}

.footer .social a::before {
  content: "◆";
  color: var(--color-accent);
  margin-right: .25rem;
  position: relative;
  top: -1px;
}

.footer a:hover { text-decoration: underline; }

/* --------------------------- Utility Classes --------------------------- */
.read-more {
  font-weight: 700;
  display: inline-block;
  margin-top: .5rem;
  position: relative;
}

.read-more::after {
  content: '→';
  margin-left: .4rem;
  transition: transform .3s;
}

.read-more:hover::after { transform: translateX(4px); }

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

/* --------------------------- Burger Responsive --------------------------- */
@media (max-width: 768px) {
  .nav { display: none; position: absolute; top: 100%; right: 0; background: #fff; border: 2px solid var(--color-dark); }
  .nav.open { display: block; }
  .nav__list { flex-direction: column; padding: 1rem 2rem; }
  .burger { display: flex; }
}

/* --------------------------- Success Page --------------------------- */
.success-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
}

/* --------------------------- Legal Pages (privacy / terms) --------------------------- */
.legal-page   { padding-top: 100px; }
.legal-page h2 { margin-bottom: 1rem; }

/* --------------------------- Parallax (simple) --------------------------- */
[data-parallax] {
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/* --------------------------- AOS Override (depth) --------------------------- */
[data-aos] { transform-style: preserve-3d; }

/* --------------------------- Cookie Banner --------------------------- */
#cookie-banner button:hover { background: var(--color-primary-dark); }

/* ===========================================================
  Fin del archivo
=========================================================== */
.burger{
  display: none;
}