/* =============================================
   ESCON PRIMERA — Global CSS
   ============================================= */

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

/* ── CSS Variables ── */
:root {
  --navy:        #0d1b2a;
  --navy-mid:    #132238;
  --navy-light:  #1a2f47;
  --gold:        #c49a3c;
  --gold-light:  #d4ae5a;
  --gold-pale:   #e8d5a3;
  --white:       #ffffff;
  --off-white:   #f7f5f0;
  --gray-light:  #e8e4dd;
  --gray-mid:    #9a9590;
  --text-dark:   #1a1a1a;
  --text-body:   #3d3a35;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', sans-serif;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;

  --shadow-gold: 0 4px 24px rgba(196, 154, 60, 0.25);
  --shadow-dark: 0 8px 40px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.12);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --section-pad: 90px 0;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: auto; object-fit: cover; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--navy);
}

.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 600;
  line-height: 1.18;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 13px 32px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--gold-light);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

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

.btn-outline-white {
  border: 1.5px solid var(--white);
  color: var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
}

/* ── Layout Utilities ── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

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

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }

.flex     { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-gold  { color: var(--gold) !important; }

/* ── Gold Divider ── */
.gold-line {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 20px 0 28px;
}
.gold-line.center { margin: 20px auto 28px; }

/* ── Overlay utility ── */
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,0.78) 0%, rgba(13,27,42,0.45) 100%);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --section-pad: 60px 0; }
  .container { padding: 0 24px; }
  .grid-2  { grid-template-columns: 1fr; gap: 36px; }
  .grid-3  { grid-template-columns: 1fr; }
  .grid-4  { grid-template-columns: 1fr 1fr; }
  .grid-6  { grid-template-columns: repeat(2, 1fr); }
}
