/*
Theme Name: Out of the Box
Theme URI: https://outofthebox.edu.ar
Author: Out of the Box Instituto de Inglés
Author URI: https://outofthebox.edu.ar
Description: Tema oficial del Instituto de Inglés Out of the Box. Incluye landing page, test de nivel, encuestas y sistema de inscripción.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Private
Text Domain: outofthebox
Tags: education, english, institute, landing-page, responsive
*/

/* ================================================
   OUT OF THE BOX — MAIN STYLESHEET
   Importa variables globales y estilos base.
   Los estilos específicos están en assets/css/
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=DM+Sans:wght@300;400;500;600&display=swap');

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

:root {
  --otb-ink:         #0D0D0D;
  --otb-cream:       #F5F0E8;
  --otb-warm:        #F9F5EE;
  --otb-gold:        #C8973A;
  --otb-gold-light:  #F0D99A;
  --otb-teal:        #1A6B6B;
  --otb-teal-dark:   #124E4E;
  --otb-teal-light:  #E0F0EF;
  --otb-coral:       #D85A30;
  --otb-muted:       #6B6560;
  --otb-border:      rgba(13,13,13,0.12);

  --otb-serif: 'Playfair Display', Georgia, serif;
  --otb-sans:  'DM Sans', system-ui, -apple-system, sans-serif;

  --otb-container: 1200px;
  --otb-radius:    4px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--otb-sans);
  background-color: var(--otb-cream);
  color: var(--otb-ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--otb-teal);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--otb-teal-dark);
}

/* ---- CONTAINER ---- */
.otb-container {
  max-width: var(--otb-container);
  margin: 0 auto;
  padding: 0 5vw;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--otb-serif);
  line-height: 1.15;
  color: var(--otb-ink);
}

p { line-height: 1.7; }

/* ---- BUTTONS ---- */
.otb-btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: var(--otb-radius);
  font-family: var(--otb-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}

.otb-btn-primary {
  background: var(--otb-teal);
  color: white;
}
.otb-btn-primary:hover {
  background: var(--otb-teal-dark);
  color: white;
  transform: translateY(-2px);
}

.otb-btn-outline {
  background: transparent;
  color: var(--otb-ink);
  border: 1.5px solid var(--otb-ink);
}
.otb-btn-outline:hover {
  background: var(--otb-ink);
  color: var(--otb-cream);
}

.otb-btn-gold {
  background: var(--otb-gold);
  color: var(--otb-ink);
}
.otb-btn-gold:hover {
  background: #E8B040;
  transform: translateY(-2px);
}

/* ---- SECTION LABELS ---- */
.otb-section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--otb-teal);
  margin-bottom: 0.75rem;
  display: block;
}

.otb-section-title {
  font-family: var(--otb-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--otb-ink);
  margin-bottom: 1rem;
}

.otb-section-sub {
  font-size: 1rem;
  color: var(--otb-muted);
  max-width: 560px;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 3rem;
}

/* ---- WORDPRESS CORE ALIGNMENT ---- */
.aligncenter { display: block; margin: 0 auto; }
.alignleft   { float: left; margin: 0 1.5rem 1rem 0; }
.alignright  { float: right; margin: 0 0 1rem 1.5rem; }

/* ---- ADMIN BAR FIX ---- */
.admin-bar nav.otb-nav { top: 32px; }
@media (max-width: 782px) {
  .admin-bar nav.otb-nav { top: 46px; }
}
