/*
Theme Name: Cabinas Minimal
Theme URI: https://example.com/cabinas-minimal
Author: OpenAI Codex
Author URI: https://openai.com
Description: Landing page minimalista y moderna para servicios de cabinas fotograficas.
Version: 1.0.3
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: cabinas-minimal
*/

:root {
  --bg: #f6f1e8;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: #fffdf8;
  --text: #181818;
  --muted: #5d5a55;
  --line: rgba(24, 24, 24, 0.08);
  --brand: #ff6b35;
  --brand-dark: #d94c1a;
  --accent: #0f766e;
  --shadow: 0 20px 60px rgba(24, 24, 24, 0.12);
  --radius: 24px;
  --radius-sm: 16px;
  --container: min(1120px, calc(100% - 2rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 107, 53, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.16), transparent 24%),
    linear-gradient(180deg, #fffaf1 0%, var(--bg) 100%);
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-shell {
  overflow: visible;
}

.landing-content > *:first-child {
  margin-top: 0;
}

.landing-content .wp-block-group {
  margin-top: 0;
  margin-bottom: 0;
}

.landing-content .wp-block-columns {
  margin-bottom: 0;
}

.landing-content .wp-block-heading,
.landing-content p {
  margin-top: 0;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.topbar {
  position: relative;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(255, 250, 241, 0.72);
  border-bottom: 1px solid rgba(24, 24, 24, 0.06);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.sticky-header-enabled .topbar {
  position: sticky;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  transition: padding 0.25s ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand--has-logo {
  gap: 0.5rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), #ffb000);
  color: white;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.brand-mark--text {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark--logo {
  width: min(148px, 100%);
  max-width: 200px;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  align-self: center;
  overflow: visible;
  transition: width 0.25s ease, height 0.25s ease, transform 0.25s ease;
}

.brand-mark--logo .custom-logo {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-mark--logo .custom-logo {
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 12px 22px rgba(255, 107, 53, 0.12));
}

.brand-mark--logo img {
  display: block;
  width: 100% !important;
  max-width: 200px;
  height: auto !important;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.sticky-header-enabled.compact-header .topbar {
  background: rgba(255, 250, 241, 0.94);
  box-shadow: 0 14px 40px rgba(24, 24, 24, 0.08);
}

.sticky-header-enabled.compact-header .topbar__inner {
  padding: 0.55rem 0;
}

.sticky-header-enabled.compact-header .brand-mark--logo {
  width: min(92px, 100%);
  height: auto;
}

.sticky-header-enabled.compact-header .brand-mark--text {
  transform: scale(0.88);
}

.sticky-header-enabled.compact-header .nav-links {
  gap: 0.95rem;
  font-size: 0.95rem;
}

.sticky-header-enabled.compact-header .topbar__actions {
  gap: 0.55rem;
}

.sticky-header-enabled.compact-header .topbar__actions .btn {
  min-height: 40px;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
}

.sticky-header-enabled.compact-header .topbar__actions .btn svg {
  width: 20px;
  height: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.wp-block-button.btn,
.wp-block-button.btn .wp-block-button__link {
  border-radius: 999px;
}

.wp-block-button.btn .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  width: 100%;
  padding: 0.85rem 1.3rem;
  font-weight: 700;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand), #ff8f55);
  color: white;
  box-shadow: 0 14px 36px rgba(255, 107, 53, 0.28);
}

.wp-block-button.btn--primary .wp-block-button__link {
  background: linear-gradient(135deg, var(--brand), #ff8f55);
  color: white;
  box-shadow: 0 14px 36px rgba(255, 107, 53, 0.28);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(24, 24, 24, 0.08);
}

.wp-block-button.btn--secondary .wp-block-button__link {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(24, 24, 24, 0.08);
  color: var(--text);
}

.btn--whatsapp {
  background: #25d366;
  color: white;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.25);
}

.hero {
  padding: 5rem 0 4rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(24, 24, 24, 0.08);
  color: var(--muted);
  font-size: 0.92rem;
}

.hero h1,
.section-heading h2 {
  margin: 1rem 0;
  font-size: clamp(2.5rem, 4vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero p {
  max-width: 58ch;
  font-size: 1.05rem;
  color: var(--muted);
}

.hero .wp-block-heading {
  margin-bottom: 1rem;
}

.hero__actions,
.hero__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(24, 24, 24, 0.08);
  background: rgba(255, 255, 255, 0.66);
}

.social-link:hover,
.social-link:focus-visible {
  background: white;
}

.hero-card,
.panel,
.event-card,
.promo-card,
.plan-card {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.3rem;
}

.hero-visual {
  aspect-ratio: 4 / 5;
  border-radius: calc(var(--radius) - 8px);
  padding: 1.25rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08)),
    linear-gradient(135deg, #111 0%, #39312b 100%);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto -15% -20% auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.92) 0%, rgba(255, 107, 53, 0) 72%);
  filter: blur(6px);
}

.hero-visual__badge,
.stat {
  position: relative;
  z-index: 1;
}

.hero-visual__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.stat {
  padding: 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.stat strong {
  display: block;
  font-size: 1.35rem;
}

.section {
  padding: 2rem 0 4rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3.4rem);
}

.section-heading p {
  color: var(--muted);
  max-width: 48ch;
}

.features,
.plans-grid,
.events-grid,
.promos-grid,
.footer-grid {
  display: grid;
  gap: 1.25rem;
}

.features {
  grid-template-columns: repeat(3, 1fr);
}

.panel {
  padding: 1.4rem;
}

.panel h3,
.plan-card h3,
.event-card h3,
.promo-card h3 {
  margin-top: 0.3rem;
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
}

.icon-chip {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.16), rgba(15, 118, 110, 0.16));
}

.plans-grid {
  grid-template-columns: repeat(3, 1fr);
}

.plans-grid--single {
  grid-template-columns: minmax(280px, 720px);
  justify-content: center;
}

.plan-card {
  padding: 1.6rem;
}

.plan-price {
  margin: 1rem 0;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

p.plan-price {
  margin: 1rem 0;
}

.plan-card ul {
  padding-left: 1.15rem;
  color: var(--muted);
}

.plan-card li + li {
  margin-top: 0.45rem;
}

.events-grid,
.promos-grid {
  grid-template-columns: repeat(3, 1fr);
}

.event-card,
.promo-card {
  overflow: hidden;
}

.card-media {
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 107, 53, 0.35), transparent 24%),
    radial-gradient(circle at 80% 30%, rgba(255, 176, 0, 0.28), transparent 20%),
    linear-gradient(135deg, #231f1d, #615247);
  position: relative;
  overflow: hidden;
}

.card-media::before {
  content: "Evento destacado";
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

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

.card-media:has(img)::before {
  content: "";
  padding: 0;
}

.card-body {
  padding: 1.3rem;
}

.card-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.landing-content .wp-block-shortcode {
  margin-top: 0;
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.25rem;
}

.contact-list {
  display: grid;
  gap: 0.85rem;
}

.contact-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(24, 24, 24, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.notice {
  margin-bottom: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  font-weight: 600;
  scroll-margin-top: 120px;
}

.notice--success {
  background: rgba(37, 211, 102, 0.14);
  color: #125b2c;
}

.notice--error {
  background: rgba(217, 76, 26, 0.12);
  color: #8d2b10;
}

.contact-form button[disabled] {
  cursor: wait;
  opacity: 0.86;
}

.contact-form .btn.is-loading,
.contact-form .btn.is-loading:hover,
.contact-form .btn.is-loading:focus-visible {
  transform: none;
  box-shadow: 0 10px 24px rgba(255, 107, 53, 0.18);
}

.footer {
  padding: 2rem 0 3rem;
}

.footer-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(24, 24, 24, 0.96);
  color: rgba(255, 255, 255, 0.85);
}

.footer-grid p {
  margin: 0;
}

.footer-nav {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.landing-content iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.landing-content video {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

@media (max-width: 1080px) {
  .hero__grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .features,
  .plans-grid,
  .events-grid,
  .promos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 780px) {
  .topbar__inner,
  .nav-links,
  .topbar__actions {
    flex-wrap: wrap;
  }

  .topbar__inner {
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .nav-links {
    justify-content: center;
    width: 100%;
    gap: 1rem;
    font-size: 0.95rem;
  }

  .topbar__actions {
    width: 100%;
    justify-content: center;
    gap: 0.65rem;
  }

  .topbar__actions .btn {
    width: auto;
    min-height: 42px;
    padding: 0.7rem 1rem;
    font-size: 0.92rem;
  }

  .brand-mark--logo {
    width: min(120px, 100%);
    max-width: 200px;
    height: auto;
  }

  .sticky-header-enabled.compact-header .brand-mark--logo {
    width: min(72px, 100%);
    height: auto;
  }

  .sticky-header-enabled.compact-header .topbar__inner {
    padding: 0.45rem 0;
  }

  .sticky-header-enabled.compact-header .topbar__actions .btn {
    min-height: 36px;
    padding: 0.55rem 0.8rem;
    font-size: 0.86rem;
  }

  .hero {
    padding: 2rem 0 2.5rem;
  }

  .hero h1,
  .section-heading h2 {
    line-height: 1.02;
    font-size: clamp(2.05rem, 9vw, 3rem);
  }

  .hero p,
  .section-heading p {
    font-size: 0.96rem;
  }

  .eyebrow {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
  }

  .features,
  .plans-grid,
  .events-grid,
  .promos-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero__actions,
  .hero__social {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero__actions {
    gap: 0.75rem;
  }

  .hero__social {
    grid-template-columns: repeat(5, minmax(0, 48px));
    justify-content: center;
    gap: 0.7rem;
  }

  .social-link {
    width: 48px;
    height: 48px;
  }

  .hero-card,
  .panel,
  .plan-card,
  .event-card,
  .promo-card {
    border-radius: 20px;
  }

  .hero-card,
  .plan-card,
  .panel,
  .card-body {
    padding: 1rem;
  }

  .hero-visual {
    padding: 1rem;
    min-height: 360px;
  }

  .hero-visual .wp-block-heading {
    font-size: 1.55rem;
    line-height: 1.08;
  }

  .stat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
  }

  .stat {
    padding: 0.75rem 0.55rem;
  }

  .stat strong {
    font-size: 1rem;
  }

  .section {
    padding: 1.4rem 0 2.2rem;
  }

  .section-heading {
    margin-bottom: 1rem;
  }

  .plan-price {
    font-size: 1.8rem;
  }

  .card-media {
    aspect-ratio: 4 / 3;
  }

  .landing-content iframe {
    min-height: 180px;
    max-height: 220px;
    border-radius: 18px;
  }

  .landing-content video {
    border-radius: 18px;
  }

  .contact-grid {
    gap: 1rem;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 0.85rem 0.95rem;
  }

  .footer {
    padding: 1.2rem 0 2rem;
  }

  .footer-grid {
    padding: 1rem;
    gap: 0.9rem;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 1rem, 1120px);
  }

  .brand-mark--logo {
    width: min(108px, 100%);
  }

  .nav-links {
    gap: 0.85rem;
    font-size: 0.88rem;
  }

  .topbar__actions .btn {
    flex: 1 1 calc(50% - 0.4rem);
    justify-content: center;
  }

  .hero h1,
  .section-heading h2 {
    font-size: clamp(1.85rem, 10vw, 2.5rem);
  }

  .hero__social {
    grid-template-columns: repeat(5, 44px);
    gap: 0.55rem;
  }

  .social-link {
    width: 44px;
    height: 44px;
  }

  .hero-visual {
    min-height: 320px;
  }

  .hero-visual .wp-block-heading {
    font-size: 1.35rem;
  }

  .stat {
    border-radius: 14px;
  }

  .card-body {
    padding: 0.9rem;
  }

  .plan-card ul {
    padding-left: 1rem;
  }
}
