/* ===========================================================
   Colorado.in — Travel & University Guide
   Modern clean design — white + neutral palette
   =========================================================== */

:root {
  --white: #ffffff;
  --neutral-50: #faf9f7;
  --neutral-100: #f4f2ee;
  --neutral-200: #e8e4dd;
  --neutral-300: #d6d0c6;
  --neutral-500: #8c887e;
  --neutral-600: #6f6a61;
  --neutral-700: #4a463f;
  --neutral-900: #26241f;
  --accent: #1f6f4a;        /* Colorado pine green */
  --accent-dark: #15543a;
  --accent-soft: #e7f1ec;
  --sky: #2c6e9b;           /* Colorado sky blue */
  --sand: #c9a26b;          /* sandstone */
  --shadow-sm: 0 1px 3px rgba(38,36,31,.08);
  --shadow-md: 0 6px 18px rgba(38,36,31,.10);
  --shadow-lg: 0 16px 40px rgba(38,36,31,.14);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1180px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--neutral-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; color: var(--neutral-900); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.section { padding: 72px 0; }
.section--soft { background: var(--neutral-50); }
.section--neutral { background: var(--neutral-100); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .14em;
  font-size: .78rem; font-weight: 700; color: var(--accent);
  background: var(--accent-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 14px; }
.section-head p { color: var(--neutral-700); font-size: 1.06rem; }

/* ---------------- Header / Nav ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--neutral-200);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; color: var(--neutral-900); }
.brand .brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--sky));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1rem;
}
.brand span.tld { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  display: block; padding: 9px 14px; border-radius: 9px; color: var(--neutral-700);
  font-weight: 600; font-size: .96rem;
}
.nav-links a:hover, .nav-links a.active { background: var(--accent-soft); color: var(--accent-dark); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--neutral-900); border-radius: 2px; transition: .3s; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--white); border-bottom: 1px solid var(--neutral-200);
    padding: 12px 16px; box-shadow: var(--shadow-md);
    transform: translateY(-150%); transition: transform .3s; max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px 14px; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative; min-height: 86vh; display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(21,40,30,.72), rgba(20,40,55,.45));
}
.hero__inner { max-width: 720px; padding: 40px 0; }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); color: #fff; margin-bottom: 18px; letter-spacing: -.5px; }
.hero p { font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255,255,255,.92); margin-bottom: 30px; max-width: 600px; }
.hero .badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.hero .badge {
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
  padding: 7px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; backdrop-filter: blur(4px);
}

/* page hero (inner pages) */
.page-hero {
  position: relative; color: #fff; padding: 96px 0 72px; overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(21,40,30,.78), rgba(20,40,55,.5)); }
.page-hero h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); color: #fff; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.9); font-size: 1.1rem; max-width: 640px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: .98rem;
  cursor: pointer; border: 2px solid transparent; transition: all .22s; text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: #fff; color: var(--accent-dark); }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------------- Cards / Grid ---------------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--neutral-200); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__media { aspect-ratio: 4/3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__tag {
  align-self: flex-start; font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--accent); background: var(--accent-soft);
  padding: 4px 10px; border-radius: 999px;
}
.card__body h3 { font-size: 1.2rem; }
.card__body p { color: var(--neutral-700); font-size: .96rem; }
.card__link { margin-top: auto; font-weight: 700; color: var(--accent); }
.card__link::after { content: " →"; }

/* Feature row (image + text) */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
}
.feature.reverse .feature__media { order: 2; }
.feature__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.feature__text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.feature__text p { color: var(--neutral-700); margin-bottom: 14px; }
.feature__text ul { list-style: none; display: grid; gap: 10px; margin: 18px 0; }
.feature__text li { padding-left: 28px; position: relative; color: var(--neutral-700); }
.feature__text li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent);
  font-weight: 800; background: var(--accent-soft); width: 20px; height: 20px;
  border-radius: 50%; display: grid; place-items: center; font-size: .75rem;
}
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; gap: 26px; }
  .feature.reverse .feature__media { order: 0; }
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stat { padding: 28px 16px; background: var(--white); border: 1px solid var(--neutral-200); border-radius: var(--radius); }
.stat .num { font-size: 2.2rem; font-weight: 800; color: var(--accent); }
.stat .label { color: var(--neutral-600); font-size: .92rem; font-weight: 600; }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Gallery strip */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery img { aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* Search bar */
.search-panel {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 18px; display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 12px; align-items: end;
}
.search-panel .field { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.search-panel label { font-size: .78rem; font-weight: 700; color: var(--neutral-600); text-transform: uppercase; letter-spacing: .05em; }
.search-panel select, .search-panel input {
  padding: 11px 12px; border: 1px solid var(--neutral-300); border-radius: 10px; font-size: .95rem;
  font-family: inherit; background: var(--neutral-50); color: var(--neutral-900);
}
.search-panel select:focus, .search-panel input:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
@media (max-width: 860px) { .search-panel { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .search-panel { grid-template-columns: 1fr; } }

/* Breadcrumb */
.breadcrumb { background: var(--neutral-50); border-bottom: 1px solid var(--neutral-200); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0; font-size: .9rem; }
.breadcrumb li { color: var(--neutral-600); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--neutral-300); }
.breadcrumb a { color: var(--accent); font-weight: 600; }

/* Info / tip boxes */
.note {
  background: var(--accent-soft); border-left: 4px solid var(--accent); border-radius: 10px;
  padding: 16px 18px; color: var(--neutral-700); margin: 18px 0;
}

/* Season tabs */
.season-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow-md); }
.season-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.season-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(20,30,25,.85), rgba(20,30,25,.05)); }
.season-card__body { padding: 24px; }
.season-card__body h3 { color: #fff; font-size: 1.4rem; }
.season-card__body .when { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; opacity: .85; font-weight: 700; }
.season-card__body p { color: rgba(255,255,255,.9); font-size: .95rem; margin-top: 6px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--accent-dark), var(--sky)); color: #fff; border-radius: var(--radius-lg); padding: 54px 40px; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.9); margin-bottom: 24px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* Forms */
.form-grid { display: grid; gap: 16px; max-width: 640px; }
.form-grid .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-grid .two { grid-template-columns: 1fr; } }
.form-grid label { font-weight: 600; font-size: .9rem; color: var(--neutral-700); display: block; margin-bottom: 6px; }
.form-grid input, .form-grid textarea, .form-grid select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--neutral-300); border-radius: 10px;
  font-family: inherit; font-size: .97rem; background: var(--neutral-50);
}
.form-grid input:focus, .form-grid textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }

/* Reviews */
.review-list { display: grid; gap: 18px; }
.review { background: var(--white); border: 1px solid var(--neutral-200); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.review .stars { color: var(--sand); letter-spacing: 2px; }
.review .meta { font-size: .85rem; color: var(--neutral-600); margin-top: 6px; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--neutral-900); color: #cfcabf; padding: 56px 0 26px; margin-top: 0; }
.site-footer a { color: #e4dfd4; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; font-size: .92rem; }
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: .92rem; color: #aaa498; max-width: 320px; }
.footer-contact { font-size: .92rem; }
.email-reveal { background: none; border: 1px dashed #6f6a61; color: #e4dfd4; padding: 8px 14px; border-radius: 8px; cursor: pointer; font: inherit; font-size: .9rem; }
.email-reveal:hover { border-color: var(--accent); color: #fff; }
.footer-cookies { border-top: 1px solid #3a382f; border-bottom: 1px solid #3a382f; padding: 18px 0; font-size: .85rem; color: #a7a195; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.footer-cookies .btn { padding: 8px 18px; font-size: .85rem; }
.footer-bottom { padding-top: 22px; text-align: center; font-size: .88rem; color: #a7a195; }
.footer-bottom a { font-weight: 600; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  background: var(--neutral-900); color: #e4dfd4; border-radius: var(--radius);
  padding: 18px 22px; box-shadow: var(--shadow-lg); display: flex; gap: 18px;
  align-items: center; justify-content: space-between; flex-wrap: wrap; max-width: 980px; margin: 0 auto;
}
.cookie-banner p { font-size: .9rem; margin: 0; }
.cookie-banner .actions { display: flex; gap: 10px; }
.cookie-banner.hidden { display: none; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Misc */
.center { text-align: center; }
.mt-32 { margin-top: 32px; }
.lead { font-size: 1.12rem; color: var(--neutral-700); }
.prose p { margin-bottom: 16px; color: var(--neutral-700); }
.prose h2 { margin: 30px 0 12px; font-size: 1.6rem; }
.prose h3 { margin: 22px 0 8px; font-size: 1.25rem; }
.prose ul { margin: 0 0 16px 22px; color: var(--neutral-700); display: grid; gap: 6px; }
.tag-pill { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 5px 12px; border-radius: 999px; margin: 0 6px 6px 0; }
