/* ===========================================================
   Walled City House — Boutique Hotel Stylesheet
   Palette inspired by the logo: deep teal door, brass key,
   ivory parchment, charcoal stone.
   =========================================================== */

:root {
  --teal: #2c5764;
  --teal-dark: #1e3e48;
  --gold: #b8935a;
  --gold-light: #d4b483;
  --ivory: #faf7f2;
  --cream: #f1ebe0;
  --charcoal: #1f2630;
  --grey: #6b7280;
  --light-grey: #e8e4dc;
  --white: #ffffff;

  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --container: 1240px;
  --radius: 4px;
  --shadow-sm: 0 4px 12px rgba(0,0,0,.06);
  --shadow-md: 0 10px 30px rgba(0,0,0,.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.15);

  --transition: 0.35s cubic-bezier(.4,0,.2,1);
}

/* Reset */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--ivory);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--charcoal);
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
em { font-style: italic; color: var(--teal); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.section { padding: 100px 0; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section__title { margin-bottom: 16px; }
.section__lead { color: var(--grey); font-size: 1.1rem; }
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 600;
}
.text-center { text-align: center; }
.mt-xl { margin-top: 48px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: var(--radius);
}
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--teal); }
.btn--dark { background: var(--charcoal); color: #fff; }
.btn--dark:hover { background: var(--gold); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: #fff; color: var(--charcoal); border-color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--teal); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.8rem;
  margin-top: 8px;
}
.link-arrow:hover { color: var(--gold); }
.link-arrow i { transition: transform var(--transition); }
.link-arrow:hover i { transform: translateX(4px); }

/* Top bar */
.top-bar {
  background: var(--charcoal);
  color: rgba(255,255,255,.8);
  font-size: 0.8rem;
  padding: 10px 0;
}
.top-bar__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.top-bar__contact a { margin-right: 20px; }
.top-bar__contact a:hover, .top-bar__social a:hover { color: var(--gold); }
.top-bar__contact i { margin-right: 6px; color: var(--gold); }
.top-bar__social a { margin-left: 16px; }

/* Header */
.header {
  background: rgba(250, 247, 242, 0.97);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 100;
  transition: box-shadow var(--transition);
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; min-height: 90px; }
.header__logo img { height: 80px; width: auto; transition: transform var(--transition); }
.header__logo:hover img { transform: scale(1.04); }

.nav { display: flex; align-items: center; gap: 40px; }
.nav__list { display: flex; gap: 32px; }
.nav__list a {
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--charcoal); position: relative; padding: 8px 0;
}
.nav__list a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width var(--transition);
}
.nav__list a:hover::after, .nav__list a.active::after { width: 100%; }
.nav__list a:hover, .nav__list a.active { color: var(--gold); }

.nav__cta { padding: 12px 24px; font-size: 0.75rem; }
.nav__toggle, .nav__close {
  font-size: 1.5rem; color: var(--charcoal); display: none;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  border-radius: var(--radius); -webkit-tap-highlight-color: transparent;
}
.nav__toggle:hover, .nav__close:hover { color: var(--gold); }
.nav__toggle:focus-visible, .nav__close:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}

/* Hero */
.hero {
  position: relative; height: 95vh; min-height: 600px;
  overflow: hidden; color: #fff;
}
.hero__slider { position: absolute; inset: 0; z-index: 1; }
.hero__slider .swiper-slide {
  background-size: cover; background-position: center;
  transition: transform 8s ease;
}
.hero__slider .swiper-slide-active { transform: scale(1.1); }
.hero__overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(31,38,48,.35) 0%, rgba(31,38,48,.55) 100%);
}
.hero__content {
  position: relative; z-index: 3;
  height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 0 24px; max-width: 900px; margin: 0 auto;
}
.hero__eyebrow {
  font-family: var(--font-sans); font-size: 0.75rem;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 24px;
}
.hero__title { color: #fff; margin-bottom: 24px; font-weight: 400; }
.hero__sub { font-size: 1.15rem; max-width: 640px; margin-bottom: 40px; color: rgba(255,255,255,.92); }
.hero__buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero__scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 3; width: 28px; height: 46px;
  border: 1px solid rgba(255,255,255,.6); border-radius: 14px;
}
.hero__scroll span {
  display: block; width: 4px; height: 8px; background: #fff;
  margin: 8px auto 0; border-radius: 2px;
  animation: scroll 2s infinite;
}
@keyframes scroll {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(20px); opacity: 0; }
}

/* Booking widget */
.booking { margin-top: -60px; position: relative; z-index: 10; padding-bottom: 40px; }
.booking__widget {
  background: #fff;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(5, 1fr) auto;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.booking__field {
  padding: 18px 22px;
  border-right: 1px solid var(--light-grey);
  display: flex; flex-direction: column;
}
.booking__field:last-of-type { border-right: none; }
.booking__field label {
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 6px;
}
.booking__field label i { margin-right: 6px; }
.booking__field input,
.booking__field select {
  border: none; outline: none;
  font-family: var(--font-sans); font-size: 0.95rem;
  color: var(--charcoal); background: transparent;
  font-weight: 500;
}
.booking__submit { border-radius: 0; padding: 0 36px; }
.booking__note {
  text-align: center; margin-top: 16px;
  color: var(--teal); font-weight: 500;
}

/* Intro */
.intro { background: var(--ivory); }
.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.intro__images { position: relative; }
.intro__img--main { box-shadow: var(--shadow-md); border-radius: var(--radius); }
.intro__img--accent {
  position: absolute; bottom: -40px; right: -40px;
  width: 55%; border: 8px solid var(--ivory);
  box-shadow: var(--shadow-md); border-radius: var(--radius);
}
.intro__content p { margin-bottom: 20px; color: #4a5260; }

/* Features */
.features { background: var(--charcoal); color: #fff; padding: 70px 0; }
.features__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
}
.feature { text-align: center; padding: 20px; }
.feature i { font-size: 2rem; color: var(--gold); margin-bottom: 16px; }
.feature h3 { color: #fff; font-size: 1.3rem; margin-bottom: 8px; }
.feature p { color: rgba(255,255,255,.65); font-size: 0.9rem; }

/* Rooms preview */
.rooms-preview__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.room-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.room-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.room-card__img { position: relative; overflow: hidden; height: 260px; }
.room-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.room-card:hover .room-card__img img { transform: scale(1.08); }
.room-card__price {
  position: absolute; top: 16px; right: 16px;
  background: var(--gold); color: #fff;
  padding: 6px 14px; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em;
}
.room-card__body { padding: 28px; }
.room-card__title { font-size: 1.5rem; margin-bottom: 8px; }
.room-card__meta {
  display: flex; gap: 16px; color: var(--grey);
  font-size: 0.82rem; margin-bottom: 14px;
}
.room-card__meta i { color: var(--gold); margin-right: 4px; }
.room-card__desc { color: #555e6e; font-size: 0.95rem; margin-bottom: 18px; }
.room-card__actions { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.room-card__actions .link-arrow { font-size: 0.75rem; }

/* Parallax */
.parallax {
  position: relative; padding: 140px 0;
  background-size: cover; background-position: center; background-attachment: fixed;
  color: #fff; text-align: center;
}
.parallax__overlay { position: absolute; inset: 0; background: rgba(31,38,48,.65); }
.parallax__inner { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.parallax__inner i { font-size: 2.5rem; color: var(--gold); margin-bottom: 24px; }
.parallax blockquote {
  font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-style: italic; line-height: 1.5; margin-bottom: 24px;
}
.parallax cite { color: var(--gold-light); letter-spacing: 0.2em; font-style: normal; font-size: 0.85rem; }

/* Dining preview */
.dining-preview__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.dining-preview__images img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.dining-preview__content p { color: #4a5260; margin-bottom: 20px; }
.check-list { margin: 24px 0; }
.check-list li { padding: 8px 0; color: var(--charcoal); }
.check-list i { color: var(--gold); margin-right: 12px; }

/* Explore */
.explore__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.explore__card {
  position: relative; height: 360px;
  background-size: cover; background-position: center;
  border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: flex-end;
  transition: transform var(--transition);
}
.explore__card:hover { transform: translateY(-6px); }
.explore__card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(31,38,48,.85) 100%);
}
.explore__card-content { position: relative; z-index: 2; padding: 28px; color: #fff; }
.explore__card-content h3 { color: #fff; margin-bottom: 6px; }
.explore__card-content p { font-size: 0.9rem; color: rgba(255,255,255,.85); }

/* Testimonials */
.testimonials__slider { padding-bottom: 60px; }
.testimonial {
  background: #fff; padding: 50px 40px; text-align: center;
  box-shadow: var(--shadow-sm); border-radius: var(--radius);
  max-width: 800px; margin: 0 auto;
}
.stars { color: var(--gold); margin-bottom: 20px; font-size: 1rem; }
.testimonial p {
  font-family: var(--font-serif); font-size: 1.4rem;
  font-style: italic; color: var(--charcoal); margin-bottom: 18px;
  line-height: 1.6;
}
.testimonial cite { font-style: normal; color: var(--gold); letter-spacing: 0.1em; font-size: 0.85rem; }
.swiper-pagination-bullet-active { background: var(--gold) !important; }

/* Newsletter */
.newsletter {
  position: relative; padding: 100px 0;
  background-size: cover; background-position: center;
  color: #fff; text-align: center;
}
.newsletter__overlay { position: absolute; inset: 0; background: rgba(44,87,100,.85); }
.newsletter__inner { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }
.newsletter__inner h2 { color: #fff; margin-bottom: 12px; }
.newsletter__inner p { margin-bottom: 30px; color: rgba(255,255,255,.9); }
.newsletter__form { display: flex; gap: 0; background: #fff; border-radius: var(--radius); overflow: hidden; }
.newsletter__form input {
  flex: 1; padding: 16px 22px; border: none; outline: none;
  font-family: var(--font-sans); font-size: 0.95rem;
}
.newsletter__form .btn { border-radius: 0; }
.newsletter__note { margin-top: 16px; color: var(--gold-light); }

/* Footer */
.footer { background: var(--charcoal); color: rgba(255,255,255,.7); padding-top: 80px; }
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 50px;
  padding-bottom: 60px;
}
.footer__logo {
  height: 80px; width: auto; margin-bottom: 20px;
  filter: brightness(0) invert(1) opacity(0.9);
}
.footer__col h4 {
  color: #fff; font-size: 1.1rem; margin-bottom: 18px;
  letter-spacing: 0.05em;
}
.footer__col a:hover { color: var(--gold); }
.footer__links li { padding: 4px 0; }
.footer__social { margin-top: 16px; }
.footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%; margin-right: 8px;
  transition: all var(--transition);
}
.footer__social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0; font-size: 0.85rem;
}
.footer__bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer__bottom a:hover { color: var(--gold); }

/* Back to top */
.back-to-top {
  position: fixed; bottom: 30px; right: 30px;
  width: 48px; height: 48px;
  background: var(--gold); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: all var(--transition); z-index: 99;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--teal); }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; height: 50vh; min-height: 380px;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: rgba(31,38,48,.55); }
.page-hero__content { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.breadcrumb { font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); }
.breadcrumb a:hover { color: #fff; }

/* Rooms full list */
.rooms-list { display: grid; grid-template-columns: 1fr; gap: 40px; }
.room-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: #fff; box-shadow: var(--shadow-sm); border-radius: var(--radius); overflow: hidden;
}
.room-row:nth-child(even) .room-row__media { order: 2; }
.room-row__media { min-height: 360px; background-size: cover; background-position: center; }
.room-row__body { padding: 50px; }
.room-row__title { font-size: 2rem; margin-bottom: 8px; }
.room-row__price { color: var(--gold); font-weight: 600; letter-spacing: 0.1em; margin-bottom: 16px; }
.room-row__desc { color: #4a5260; margin-bottom: 20px; }
.room-row__features { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.room-row__features span {
  font-size: 0.85rem; color: var(--charcoal);
  background: var(--cream); padding: 6px 14px; border-radius: 20px;
}
.room-row__features i { color: var(--gold); margin-right: 6px; }

/* Dining page */
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.menu-block h3 { margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--light-grey); }
.menu-item { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px dashed var(--light-grey); }
.menu-item h4 { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.menu-item p { color: var(--grey); font-size: 0.9rem; }
.menu-item .price { color: var(--gold); font-weight: 600; white-space: nowrap; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h3 { margin-bottom: 16px; }
.contact-info p { margin-bottom: 20px; color: #4a5260; }
.contact-info .info-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-info .info-item i { color: var(--gold); font-size: 1.3rem; margin-top: 4px; }
.contact-form { background: var(--cream); padding: 40px; border-radius: var(--radius); }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; margin-bottom: 6px; font-size: 0.8rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 600;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--light-grey); background: #fff;
  font-family: var(--font-sans); font-size: 0.95rem;
  border-radius: var(--radius); outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold); }
.form-group textarea { min-height: 130px; resize: vertical; }

.map { width: 100%; height: 420px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* Explore page */
.attraction-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.attraction-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform var(--transition);
}
.attraction-card:hover { transform: translateY(-4px); }
.attraction-card img { height: 220px; width: 100%; object-fit: cover; }
.attraction-card__body { padding: 24px; }
.attraction-card__body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.attraction-card__body .distance {
  color: var(--gold); font-size: 0.8rem; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 600; margin-bottom: 12px; display: block;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .booking__widget { grid-template-columns: 1fr 1fr; }
  .booking__field { border-right: 1px solid var(--light-grey); border-bottom: 1px solid var(--light-grey); }
  .booking__submit { grid-column: 1 / -1; padding: 18px; }

  .intro__grid, .dining-preview__grid, .contact-grid, .menu-grid { grid-template-columns: 1fr; gap: 50px; }
  .intro__img--accent { position: static; width: 100%; margin-top: 20px; }

  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .rooms-preview__grid { grid-template-columns: repeat(2, 1fr); }
  .explore__grid { grid-template-columns: repeat(2, 1fr); }
  .attraction-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }

  .room-row { grid-template-columns: 1fr; }
  .room-row:nth-child(even) .room-row__media { order: 0; }
}

@media (max-width: 992px) {
  .nav__toggle, .nav__close { display: inline-flex; }
  .nav {
    position: fixed; top: 0; right: 0;
    height: 100vh; height: 100dvh;
    width: min(85%, 360px);
    background: var(--ivory);
    flex-direction: column; align-items: flex-start;
    padding: 88px 28px 32px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
    z-index: 200;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0;
  }
  .nav.open { transform: translateX(0); }
  .nav__list { flex-direction: column; gap: 4px; width: 100%; }
  .nav__list li { width: 100%; }
  .nav__list a {
    display: block; width: 100%;
    padding: 14px 4px; font-size: 0.95rem;
    border-bottom: 1px solid var(--light-grey);
    position: relative; z-index: 1;
  }
  .nav__list a::after { display: none; }
  .nav__close { position: absolute; top: 18px; right: 18px; }
  .nav__cta { width: 100%; justify-content: center; margin-top: 24px; padding: 16px 24px; }
  /* Hide the hamburger while the menu is open (it sits beneath the backdrop, but this is cleaner) */
  .nav.open ~ .nav__toggle { opacity: 0; pointer-events: none; }
}

@media (max-width: 768px) {
  .top-bar__contact a { margin-right: 12px; font-size: 0.75rem; }
  .top-bar__contact a span { display: none; }

  .header__inner { padding: 8px 16px; min-height: 72px; }
  .header__logo img { height: 60px; }

  .hero { height: 85vh; }
  .booking__widget { grid-template-columns: 1fr; }
  .booking__field { border-right: none; border-bottom: 1px solid var(--light-grey); }

  .rooms-preview__grid, .explore__grid, .attraction-grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom .container { flex-direction: column; text-align: center; }

  .section { padding: 70px 0; }
  .room-row__body { padding: 30px; }
  .newsletter__form { flex-direction: column; background: transparent; }
  .newsletter__form input { background: #fff; margin-bottom: 12px; border-radius: var(--radius); }
  .newsletter__form .btn { border-radius: var(--radius); }
}

@media (max-width: 480px) {
  .features__grid { grid-template-columns: 1fr; }
  .hero__buttons .btn { width: 100%; justify-content: center; }
  .top-bar { display: none; }
  .header__logo img { height: 52px; }
  .nav { width: 88%; padding: 80px 22px 28px; }
}

/* Mobile menu backdrop */
.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5); z-index: 150;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.nav-backdrop.open { opacity: 1; visibility: visible; }
