/* ═══════════════════════════════════════════════════════════
   Atelier Infra — Main Website Stylesheet v3.0
   Theme: Emerald Green + Gold (matching Emerald Greens)
   ═══════════════════════════════════════════════════════════ */

/* ── CSS Variables ───────────────────────────────────────────── */
:root {
  --green-900: #0d3320;
  --green-800: #1a5c38;
  --green-700: #22753f;
  --green-600: #2d8a4e;
  --green-500: #3aaa60;
  --green-400: #5cc47c;
  --green-100: #e8f5ed;
  --green-50:  #f0f9f3;
  --teal:     var(--green-800);
  --teal-dark:var(--green-900);
  --teal-mid: var(--green-700);
  --gold:     #e0ab14;
  --gold-dark:#c8960c;
  --gold-light:#f0c030;
  --white:    #ffffff;
  --off-white:#F7F8F4;
  --topbar-h: 0px;
  --header-h: 70px;
  --total-top: var(--header-h);
  --text:     #1a2530;
  --text-60:  rgba(255,255,255,.6);
  --muted:    #6b7a8a;
  --border:   #e2e8f0;
  --shadow:   0 4px 24px rgba(1,60,74,.12);
  --shadow-lg:0 12px 48px rgba(1,60,74,.2);
  --radius:   12px;
  --radius-lg:20px;
  --radius-pill:50px;
  --transition:.25s ease;
  --font-body:'Inter', sans-serif;
  --font-head:'Playfair Display', Georgia, serif;
  --mobile-gutter: 1rem;
}

/* ── 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); background: var(--white); line-height: 1.65; overflow-x: hidden; }
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* ── Content Protection: disable text copy & image saving/dragging ───── */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
input, textarea, [contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
}

/* ── Honeypot ────────────────────────────────────────────────── */
.hp_field { position: absolute; left: -9999px; visibility: hidden; }

/* ── Typography ──────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

/* ── Layout ──────────────────────────────────────────────────── */
.container       { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.container_wide  { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.section_pad     { padding: 80px 0; }
.bg_light        { background: var(--off-white); }

@media (max-width: 768px) {
  .section_pad { padding: 56px 0; }
  .container { padding: 0 1rem; }
  .container_wide { padding: 0 1rem; }
  .about_grid,
  .enquiry_grid,
  .featured_grid,
  .res_layout {
    gap: 1.25rem;
  }
  .section_header { margin-bottom: 1.75rem; }
  .section_footer_cta { margin-top: 1.5rem; }
}
.bg_teal         { background: var(--teal); }
.text_gold       { color: var(--gold); }
.text_white      { color: var(--white); }
.text_white_60   { color: var(--text-60); }

/* ── Alerts ──────────────────────────────────────────────────── */
.alert_success { background: #d4edda; color: #155724; border-left: 4px solid #28a745; padding: 1rem 1.2rem; border-radius: 8px; margin-bottom: 1rem; }
.alert_error   { background: #f8d7da; color: #721c24; border-left: 4px solid #dc3545; padding: 1rem 1.2rem; border-radius: 8px; margin-bottom: 1rem; }

/* ── Glass Cards ─────────────────────────────────────────────── */
.glass_card { background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.5); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.glass_card_dark { background: rgba(1,60,74,.7); backdrop-filter: blur(16px); border: 1px solid rgba(228,211,41,.15); border-radius: var(--radius-lg); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn_primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--gold); color: var(--teal);
  padding: .7rem 1.8rem; border-radius: var(--radius-pill);
  font-weight: 700; font-size: .95rem; transition: var(--transition);
  white-space: nowrap;
}
.btn_primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(228,211,41,.4); }

/* Reverse button colors when inside section_header (2nd header) */
.section_header .btn_primary {
  background: var(--teal);
  color: var(--gold);
  border: 2px solid var(--gold);
}
.section_header .btn_primary:hover {
  background: var(--gold);
  color: var(--teal);
}
.section_header .btn_secondary {
  background: var(--gold);
  color: var(--teal);
  border: 2px solid var(--gold);
}
.section_header .btn_secondary:hover {
  background: var(--teal);
  color: var(--gold);
}
.section_header .btn_outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.section_header .btn_outline:hover {
  background: var(--teal);
  color: var(--white);
}
.btn_glow:hover    { box-shadow: 0 0 20px rgba(228,211,41,.6); }
.btn_secondary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent; color: var(--white); border: 2px solid var(--white);
  padding: .68rem 1.8rem; border-radius: var(--radius-pill);
  font-weight: 600; font-size: .95rem; transition: var(--transition);
}
.btn_secondary:hover { background: rgba(255,255,255,.1); }
.btn_outline {
  background: transparent; border: 2px solid var(--teal); color: var(--teal);
  padding: .68rem 1.8rem; border-radius: var(--radius-pill);
  font-weight: 700; font-size: .95rem; display: inline-flex; align-items: center; gap: .5rem;
  transition: var(--transition);
}
.btn_outline:hover { background: var(--teal); color: var(--white); }
.btn_lg   { padding: .9rem 2.2rem; font-size: 1rem; }
.btn_full { width: 100%; justify-content: center; }
.btn_card_primary { background: var(--gold); color: var(--teal); padding: .55rem 1.3rem; border-radius: var(--radius-pill); font-weight: 700; font-size: .85rem; transition: var(--transition); }
.btn_card_primary:hover { background: var(--gold-dark); }
.btn_card_secondary { background: transparent; color: var(--teal); border: 1.5px solid var(--teal); padding: .53rem 1.3rem; border-radius: var(--radius-pill); font-weight: 600; font-size: .85rem; transition: var(--transition); }
.btn_card_secondary:hover { background: var(--teal); color: var(--white); }

/* ── Section Headers ─────────────────────────────────────────── */
.section_header { text-align: center; margin-bottom: 3rem; }
.section_tag { display: inline-block; background: rgba(228,211,41,.15); color: var(--teal); padding: .3rem 1rem; border-radius: var(--radius-pill); font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: .8rem; }
.section_tag_gold { background: rgba(228,211,41,.2); color: var(--gold); }
.section_title { margin-bottom: .6rem; }
.section_sub  { color: var(--muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.section_footer_cta { text-align: center; margin-top: 2.5rem; }

/* ── HEADER ──────────────────────────────────────────────────── */
.site_header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(1,60,74,.95); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(228,211,41,.1);
  transition: box-shadow var(--transition);
}
.site_header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.3); }
.header_inner { display: flex; align-items: center; gap: 1.5rem; height: 70px; }
.site_logo { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.logo_img  { height: 44px; width: auto; }
.logo_text { font-family: var(--font-head); font-size: 1.4rem; color: var(--white); font-weight: 700; }
.logo_a    { color: var(--gold); }
.logo_dot  { color: var(--text-60); font-size: 1rem; font-weight: 400; }

/* Navigation */
.main_nav  { flex: 1; }
.nav_list  { display: flex; align-items: center; gap: .25rem; }
.nav_item  { position: relative; }
.nav_link  { display: flex; align-items: center; gap: .3rem; color: rgba(255,255,255,.85); padding: .5rem .9rem; border-radius: 8px; font-size: .9rem; font-weight: 500; transition: var(--transition); white-space: nowrap; }
.nav_link:hover, .nav_link.active { color: var(--gold); background: rgba(228,211,41,.08); }
.chevron   { transition: transform var(--transition); flex-shrink: 0; }
.has_dropdown:hover .chevron { transform: rotate(180deg); }

/* Multi-level Dropdown */
.dropdown_menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 200px; background: var(--teal-dark);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid rgba(228,211,41,.15);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all var(--transition); z-index: 200;
}
.has_dropdown:hover > .dropdown_menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown_menu .nav_link { padding: .6rem 1.1rem; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: .88rem; }
.dropdown_menu .nav_link:hover { background: rgba(228,211,41,.1); padding-left: 1.4rem; }
/* Sub-dropdown */
.sub_item { position: relative; }
.sub_item > .dropdown_menu { top: 0; left: 100%; margin-left: 4px; }
.sub_item:hover > .dropdown_menu { opacity: 1; visibility: visible; transform: translateY(0); }

.header_cta { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.btn_whatsapp { display: flex; align-items: center; background: #25D366; color: white; width: 40px; height: 40px; border-radius: 50%; justify-content: center; transition: var(--transition); }
.btn_whatsapp:hover { background: #1db954; transform: scale(1.1); }
.nav_toggle { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; align-items: center; justify-content: center; margin-left: auto; flex-shrink: 0; position: relative; z-index: 1006; cursor: pointer; background: rgba(228,211,41,0.1); border: 2px solid rgba(228,211,41,0.3); padding: 0; border-radius: 8px; transition: background .2s ease, border-color .2s ease; }
.nav_toggle span { display: block; width: 24px; height: 2.5px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.nav_toggle:hover { background: rgba(255,255,255,.1); }
.nav_toggle:hover span { background: var(--gold); }
.nav_toggle:active { transform: scale(0.95); }
.nav_toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.nav_toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.nav_toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ── HERO ─────────────────────────────────────────────────────── */
.hero_section { position: relative; min-height: 100vh; display: flex; flex-direction: column; background: var(--teal-dark); }
.hero_slider  { position: relative; flex: 1; display: flex; flex-direction: column; overflow: hidden; min-height: calc(100vh - var(--header-h)); }
.hero_slide   {
  position: absolute; inset: 0; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal-mid) 60%, #025a70 100%);
  opacity: 0; transition: opacity .7s ease; pointer-events: none;
}
.hero_slide.active { opacity: 1; pointer-events: all; position: relative; flex: 1; }
.hero_bg_overlay {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, rgba(1,31,40,.68) 0%, rgba(1,60,74,.35) 55%, rgba(2,90,112,.16) 100%);
}
/* Animated bg pattern */
.hero_slide::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23E4D329' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero_content { position: relative; z-index: 1; padding: 0; min-height: 100vh; display: flex; align-items: flex-end; flex: 1; }
.hero_actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero_stats {
  background: rgba(1,31,40,.95); border-top: 1px solid rgba(228,211,41,.15);
  padding: 1.2rem 0;
}
.hero_stats_inner { display: flex; align-items: center; justify-content: center; gap: 0; }
.stat_item { text-align: center; padding: 0 2.5rem; }
.stat_num  { display: block; font-family: var(--font-head); font-size: 1.8rem; color: var(--gold); font-weight: 700; }
.stat_label{ display: block; font-size: .78rem; color: var(--text-60); text-transform: uppercase; letter-spacing: .06em; }
.stat_divider { width: 1px; height: 40px; background: rgba(228,211,41,.2); flex-shrink: 0; }
/* Slider Controls */
.hero_controls { position: absolute; right: 1.5rem; bottom: 1.5rem; z-index: 10; display: flex; align-items: center; gap: .8rem; padding: .65rem .85rem; border-radius: 999px; background: rgba(255,255,255,.12); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.hero_btn  { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.16); color: white; display: flex; align-items: center; justify-content: center; transition: var(--transition); border: 1px solid rgba(255,255,255,.2); }
.hero_btn:hover { background: var(--gold); color: var(--teal); border-color: var(--gold); transform: scale(1.05); }
.hero_dots { display: flex; gap: .5rem; }
.hero_dot  { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.45); transition: var(--transition); cursor: pointer; }
.hero_dot.active { background: var(--gold); width: 24px; border-radius: 999px; }

@media (min-width: 769px) {
  .hero_bottom_pack { left: 0; right: auto; bottom: 18px; }
}

/* ── ABOUT ───────────────────────────────────────────────────── */
.about_grid   { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3.5rem; align-items: center; }
.about_img_stack { position: relative; }
.about_img_main { padding: 2rem; min-height: 340px; display: flex; align-items: center; justify-content: center; }
.building_svg { width: 100%; max-width: 240px; }
.about_badge_card { position: absolute; bottom: -20px; right: -20px; padding: 1rem 1.2rem; display: flex; align-items: center; gap: .75rem; }
.badge_icon { font-size: 1.5rem; }
/* About content — equal column with decorative after-line */
.about_content { position: relative; padding: 0 1.25rem 2rem 1.25rem; max-width: 420px; margin-left: auto; }
.about_content::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 64px; height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 60%, transparent 100%);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(228,211,41,.45);
  animation: about_line_grow .8s ease forwards;
  transform-origin: left;
}
@keyframes about_line_grow {
  from { width: 0; opacity: 0; }
  to   { width: 64px; opacity: 1; }
}
.about_content .section_title { margin-bottom: .4rem; }
.about_lead { font-size: 1.05rem; color: var(--muted); margin-bottom: 1rem; font-weight: 500; }
.about_features { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 1.5rem 0; }
.af_item { display: flex; align-items: center; gap: .6rem; font-size: .9rem; font-weight: 500; }
.af_icon { font-size: 1.1rem; }

/* ── PROJECTS ────────────────────────────────────────────────── */
.filter_tabs { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2rem; }
.filter_tab  { padding: .5rem 1.3rem; border-radius: var(--radius-pill); border: 1.5px solid var(--border); font-size: .88rem; font-weight: 600; color: var(--muted); transition: var(--transition); }
.filter_tab.active, .filter_tab:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }
.projects_slider_wrap { position: relative; overflow: hidden; }
.projects_track { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.project_card   { border-radius: var(--radius-lg); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.project_card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card_image     { position: relative; height: 220px; overflow: hidden; }
.card_image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.project_card:hover .card_image img { transform: scale(1.05); }
.card_img_placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--teal) 0%, var(--teal-mid) 100%); display: flex; align-items: center; justify-content: center; }
.card_img_placeholder svg { width: 80%; height: 80%; }
.card_overlay { position: absolute; top: .8rem; right: .8rem; display: flex; gap: .4rem; flex-direction: column; align-items: flex-end; }
.card_status  { padding: .25rem .75rem; border-radius: var(--radius-pill); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.status_ongoing   { background: rgba(228,211,41,.9); color: var(--teal-dark); }
.status_completed { background: rgba(16,185,129,.9); color: white; }
.status_upcoming  { background: rgba(99,102,241,.9); color: white; }
.card_featured { background: var(--gold); color: var(--teal); padding: .25rem .75rem; border-radius: var(--radius-pill); font-size: .72rem; font-weight: 700; }
.card_body     { padding: 1.4rem; }
.card_location { display: flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .8rem; margin-bottom: .4rem; }
.card_title    { font-family: var(--font-head); font-size: 1.2rem; margin-bottom: .5rem; color: var(--teal); }
.card_desc     { font-size: .88rem; color: var(--muted); margin-bottom: .75rem; line-height: 1.5; }
.card_config   { display: flex; align-items: center; gap: .4rem; font-size: .82rem; color: var(--teal); font-weight: 600; margin-bottom: 1rem; }
.card_actions  { display: flex; gap: .75rem; flex-wrap: wrap; }
.slider_nav    { display: flex; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.slider_btn    { width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: white; display: flex; align-items: center; justify-content: center; transition: var(--transition); box-shadow: var(--shadow); }
.slider_btn:hover { background: var(--gold); color: var(--teal); }

/* ── FEATURED ────────────────────────────────────────────────── */
.featured_grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.featured_image_col .featured_img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: 400px; object-fit: cover; }
.featured_img_placeholder { height: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
.fp_icon { font-size: 3rem; }
.featured_badge { display: inline-block; background: rgba(228,211,41,.15); color: var(--gold); padding: .3rem 1rem; border-radius: var(--radius-pill); font-size: .8rem; font-weight: 700; margin-bottom: 1rem; }
.featured_name  { font-size: 2rem; color: var(--teal); margin-bottom: .6rem; }
.featured_location { display: flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.featured_desc  { color: var(--muted); margin-bottom: 1.5rem; line-height: 1.7; }
.featured_specs { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: 1.5rem; }
.spec { background: var(--off-white); border-radius: 8px; padding: .6rem 1rem; }
.spec strong { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: .2rem; }
.spec span   { font-weight: 600; color: var(--teal); font-size: .9rem; }
.status_badge { background: var(--gold); color: var(--teal); padding: .15rem .6rem; border-radius: var(--radius-pill); font-size: .78rem; }
.featured_actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── SERVICES ────────────────────────────────────────────────── */
.section_header_light .section_tag { background: rgba(228,211,41,.15); }
.services_grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.service_card { padding: 2rem; text-align: center; border-radius: var(--radius-lg); transition: transform var(--transition); }
.service_card:hover { transform: translateY(-4px); }
.service_icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service_card h3 { color: var(--gold); margin-bottom: .6rem; font-family: var(--font-head); }
.service_card p  { color: var(--text-60); font-size: .9rem; line-height: 1.6; }

/* ── WHY CHOOSE ──────────────────────────────────────────────── */
.why_grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.why_item { display: flex; gap: 1.5rem; align-items: flex-start; }
.why_num  { font-family: var(--font-head); font-size: 2.5rem; color: var(--gold); opacity: .3; line-height: 1; flex-shrink: 0; font-weight: 700; }
.why_content h3 { color: var(--teal); margin-bottom: .4rem; font-size: 1.1rem; }
.why_content p  { color: var(--muted); font-size: .9rem; line-height: 1.6; }

/* ── PARTNERS ────────────────────────────────────────────────── */
.partners_track_wrap { overflow: hidden; mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%); }
.partners_track { display: flex; gap: 2.5rem; align-items: center; animation: partners_scroll 30s linear infinite; width: max-content; }
.partners_track:hover { animation-play-state: paused; }
.partner_logo  { flex-shrink: 0; height: 60px; display: flex; align-items: center; justify-content: center; opacity: .6; filter: grayscale(100%); transition: var(--transition); padding: 0 1rem; }
.partner_logo:hover { opacity: 1; filter: none; }
.partner_logo img { height: 50px; width: auto; max-width: 140px; object-fit: contain; }
.partner_name_text { font-weight: 700; font-size: 1.1rem; color: var(--teal); white-space: nowrap; }
@keyframes partners_scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── GALLERY ─────────────────────────────────────────────────── */
.gallery_grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery_item { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/3; }
.gallery_item:first-child { grid-column: span 2; aspect-ratio: 16/9; }
.gallery_item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery_item:hover img { transform: scale(1.08); }
.gallery_overlay { position: absolute; inset: 0; background: rgba(1,60,74,.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); }
.gallery_item:hover .gallery_overlay { opacity: 1; }
.gallery_project_label {
  position: absolute;
  left: .6rem;
  bottom: .6rem;
  background: rgba(1,60,74,.85);
  color: var(--white, #fff);
  font-size: .72rem;
  font-weight: 600;
  padding: .3rem .7rem;
  border-radius: var(--radius-pill, 999px);
  letter-spacing: .02em;
}

/* ── ENQUIRY ─────────────────────────────────────────────────── */
.enquiry_grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }
.enquiry_contact_items { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.ec_item { display: flex; align-items: flex-start; gap: 1rem; }
.ec_icon { font-size: 1.4rem; flex-shrink: 0; }
.ec_item strong { display: block; margin-bottom: .15rem; }
.ec_item a { color: var(--gold); font-weight: 600; }
.enquiry_form_wrap { padding: 2rem; }
.enquiry_form .form_row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.enquiry_form .form_group { margin-bottom: 1.1rem; }
.enquiry_form label { display: block; font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.8); margin-bottom: .4rem; }
.req { color: var(--gold); }
.enquiry_form input,
.enquiry_form select,
.enquiry_form textarea {
  width: 100%; padding: .75rem 1rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px; color: white; font-size: .95rem;
  transition: border-color var(--transition);
}
.enquiry_form input::placeholder,
.enquiry_form textarea::placeholder { color: rgba(255,255,255,.4); }
.enquiry_form input:focus,
.enquiry_form select:focus,
.enquiry_form textarea:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.15); }
.enquiry_form select option { background: var(--teal-dark); color: white; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.site_footer  { background: var(--teal-dark); color: rgba(255,255,255,.75); }
.footer_top   { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 2.5rem; padding: 60px 0; }
.footer_logo  { height: 44px; width: auto; margin-bottom: .75rem; }
.footer_logo_text { font-family: var(--font-head); font-size: 1.6rem; color: white; font-weight: 700; }
.footer_logo_text span { color: var(--gold); }
.footer_tagline { color: var(--gold); font-size: .85rem; font-weight: 600; margin-bottom: .5rem; }
.footer_desc  { font-size: .85rem; line-height: 1.65; color: rgba(255,255,255,.55); margin-bottom: 1.2rem; }
.footer_social { display: flex; gap: .75rem; }
.footer_social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); transition: var(--transition); }
.footer_social a:hover { background: var(--gold); color: var(--teal); }
.footer_heading { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: 1rem; font-family: var(--font-body); font-weight: 700; }
.footer_col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer_col li a { font-size: .88rem; color: rgba(255,255,255,.6); transition: var(--transition); }
.footer_col li a:hover, .footer_cta_link { color: var(--gold) !important; }

/* Footer Dropdown Styles */
.footer_dropdown { list-style: none; padding: 0; margin: 0; }
.footer_dropdown_item { position: relative; }
.footer_dropdown_trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}
.footer_dropdown_trigger:hover { color: var(--gold); }
.footer_chevron { transition: transform var(--transition); flex-shrink: 0; }
.footer_dropdown_menu {
  list-style: none;
  padding: 0;
  margin: .5rem 0 0 0;
  display: none;
  flex-direction: column;
  gap: .3rem;
  border-left: 2px solid rgba(228,211,41,.3);
  padding-left: .75rem;
}
.footer_dropdown_menu li a { font-size: .82rem; padding-left: 0; }
.footer_dropdown_item:hover .footer_dropdown_menu { display: flex; }
.footer_dropdown_item:hover .footer_chevron { transform: rotate(180deg); }
.contact_list { display: flex; flex-direction: column; gap: .75rem; }
.contact_list li { display: flex; align-items: flex-start; gap: .5rem; font-size: .85rem; }
.contact_list a { color: rgba(255,255,255,.6); transition: var(--transition); }
.contact_list a:hover { color: var(--gold); }
.address_item { align-items: flex-start; }
.address_item svg { flex-shrink: 0; margin-top: 2px; }
.footer_bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer_bottom_inner { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 0; flex-wrap: wrap; gap: .5rem; }
.footer_bottom p { font-size: .82rem; color: rgba(255,255,255,.4); }
.footer_policy_links { display: flex; gap: 1rem; align-items: center; font-size: .82rem; }
.footer_policy_links a { color: rgba(255,255,255,.4); transition: var(--transition); }
.footer_policy_links a:hover { color: var(--gold); }
.footer_policy_links span { color: rgba(255,255,255,.2); }

/* ── Floating WhatsApp ───────────────────────────────────────── */
.float_whatsapp {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.5);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: float_pulse 2.5s ease-in-out infinite;
}
.float_whatsapp:hover { transform: scale(1.1); box-shadow: 0 8px 24px rgba(37,211,102,.6); }
@keyframes float_pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,.5); }
  50%       { box-shadow: 0 4px 24px rgba(37,211,102,.8), 0 0 0 8px rgba(37,211,102,.1); }
}

/* ── Animations ──────────────────────────────────────────────── */
[data-animate] { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
[data-animate="fade-right"] { transform: translateX(-30px); }
[data-animate="fade-left"]  { transform: translateX(30px); }
[data-animate].animated { opacity: 1; transform: translate(0); }

/* ── Pages view ──────────────────────────────────────────────── */
.page_content { padding: 100px 0 60px; min-height: 50vh; }
.page_content h2 { color: var(--teal); margin-bottom: 1rem; }
.page_content p  { color: var(--muted); line-height: 1.8; margin-bottom: 1rem; }

/* ── Lightbox ────────────────────────────────────────────────── */
.lightbox_overlay { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 9999; display: flex; align-items: center; justify-content: center; }
.lightbox_overlay img { max-width: 90vw; max-height: 90vh; border-radius: 8px; }
.lightbox_close { position: absolute; top: 1rem; right: 1.5rem; color: white; font-size: 2rem; cursor: pointer; z-index: 10000; }

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .footer_top { grid-template-columns: 1fr 1fr 1fr; }
  .footer_brand { grid-column: span 3; }
}
@media (max-width: 1024px) {
  .about_grid, .featured_grid, .enquiry_grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about_visual { display: none; }
  .gallery_grid { grid-template-columns: 1fr 1fr; }
  .gallery_item:first-child { grid-column: span 2; }
}
@media (max-width: 768px) {
  html { scroll-behavior: auto; }
  .section_pad { padding: 50px 0; }
  .section_header { margin-bottom: 2rem; }
  .about_section, .res_section, .gallery_section, .enquiry_section, .services_section, .why_section, .partners_section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .res_header_row { padding-bottom: 1rem; margin-bottom: 1rem; }
  .about_content, .featured_content_col, .enquiry_info, .enquiry_form_wrap { padding-inline: .15rem; }
  .enquiry_form_wrap { padding: 1.4rem; }
  .hero_text_block { padding-bottom: 1.25rem; }
  .gallery_section .section_header, .enquiry_section .enquiry_grid { margin-top: .35rem; }
  /* Ensure consistent side gutters on mobile */
  .container, .container_wide { padding-left: var(--mobile-gutter); padding-right: var(--mobile-gutter); }
  .main_nav {
    display: flex;
    position: fixed;
    top: calc(var(--topbar-h) + var(--header-h));
    right: 0;
    left: auto;
    height: auto;
    width: 85vw;
    max-width: 400px;
    min-width: 280px;
    background: rgba(1,31,40,.98);
    flex-direction: column;
    padding: 1.25rem;
    z-index: 1005;
    pointer-events: none;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s ease, opacity .3s ease, visibility .3s ease;
    box-shadow: -18px 0 48px rgba(0,0,0,.28);
    max-height: calc(100vh - var(--topbar-h) - var(--header-h));
    max-height: calc(100dvh - var(--topbar-h) - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .main_nav.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1008;
  }
  /* Backdrop shown when off-canvas nav opens */
  .nav_backdrop {
    position: fixed;
    top: 0;
    left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.45);
    z-index: 1002;
    opacity: 0; visibility: hidden; transition: opacity .2s ease;
    pointer-events: none;
  }
  .nav_backdrop.show { opacity: 1; visibility: visible; pointer-events: auto; }
  
  /* Body scroll lock when menu is open.
     JS sets body.style.top to -scrollY on open and restores via scrollTo on close. */
  body.menu_open { overflow: hidden; position: fixed; left: 0; right: 0; width: 100%; }

  /* Improve z-index stacking context */
  .top_bar { z-index: 1007; }
  .site_header { z-index: 1006; }
  .nav_toggle { z-index: 1009; position: relative; }
  .nav_list { flex-direction: column; gap: .5rem; width: 100%; }
  .nav_item { width: 100%; }
  .nav_link { padding: .9rem 1.1rem; border-radius: 8px; width: 100%; min-height: 48px; display: flex; align-items: center; pointer-events: auto !important; cursor: pointer; font-size: .95rem; white-space: normal; word-break: break-word; }
  .nav_link:not(.dropdown_trigger):active { background: rgba(228,211,41,.1); }
  .sub_item .nav_link { padding: .65rem .9rem; font-size: .9rem; margin-left: .5rem; border-radius: 6px; min-height: 44px; }
  .sub_item > .dropdown_trigger { padding: .65rem .9rem; font-size: .9rem; margin-left: .5rem; border-radius: 6px; background: rgba(255,255,255,.05); min-height: 44px; }
  .sub_item.open > .dropdown_trigger { background: rgba(228,211,41,.1); color: var(--gold); }
  /* Top-level trigger (e.g. Projects): rotate the in-markup chevron on tap.
     Desktop uses :hover; mobile toggles the .open class via JS. */
  .has_dropdown.open > .nav_link .chevron,
  .has_dropdown.open > .dropdown_trigger .chevron { transform: rotate(180deg); }
  .dropdown_menu { position: static; opacity: 1 !important; visibility: visible !important; transform: none !important; box-shadow: none; border-left: 3px solid var(--gold); margin-left: .75rem; margin-top: .25rem; background: rgba(0,0,0,.2); display: none; animation: slideDown .25s ease-out; }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .has_dropdown.open > .dropdown_menu { display: block; }
  .sub_item .dropdown_menu { margin-left: .75rem; border-left-color: rgba(228,211,41,.5); }
  .sub_item.open > .dropdown_menu { display: block; }
  .dropdown_trigger { cursor: pointer; }
  .sub_item > .dropdown_trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; }
  .sub_item > .dropdown_trigger::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 300;
    transition: transform var(--transition);
  }
  .sub_item.open > .dropdown_trigger::after {
    content: '−';
    transform: rotate(180deg);
  }
  .nav_toggle {
    display: flex !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 1006 !important;
  }
  .header_inner { 
    position: relative; 
    z-index: 1001;
  }
  .header_cta .btn_primary { display: none; }
  
  /* Hero section mobile improvements.
     dvh keeps the hero from being hidden behind the mobile browser's
     address/toolbar; vh is kept as the fallback for older browsers. */
  .hero_section { min-height: 100vh; min-height: 100dvh; }
  .hero_content { padding-top: 1rem !important; padding-right: 0 !important; padding-left: 0 !important; min-height: 60vh !important; min-height: 60dvh !important; position: relative !important; }
  .hero_text_block { max-width: 100% !important; padding: 0 1rem 1rem 1rem !important; position: relative !important; margin-top: auto !important; background: linear-gradient(to top, rgba(1,31,40,0.8) 0%, rgba(1,31,40,0) 50%); }
  .hero_title { font-size: clamp(1.8rem, 4vw, 2.8rem) !important; }
  .hero_sub { max-width: 100% !important; font-size: 17px !important; }
  .hero_actions { flex-direction: column !important; gap: .75rem !important; }
  .hero_actions .btn_primary, .hero_actions .btn_secondary { width: 100% !important; justify-content: center !important; }
  .hero_bottom_pack { bottom: 10px !important; position: relative !important; }
  .hero_controls { bottom: 20px !important; position: relative !important; z-index: 10 !important; }
  .hero_dots { gap: .6rem !important; }
  .hero_dot { width: 10px !important; height: 10px !important; }
  
  .hero_stats_inner { flex-wrap: wrap; }
  .stat_item { padding: .5rem 1rem; flex: 1 1 auto; text-align: center; }
  .stat_divider { display: none; }
  .stat_num { font-size: 1.5rem; }
  .stat_label { font-size: .75rem; }
  
  .projects_track { grid-template-columns: 1fr; }
  .filter_tabs { width: 100%; overflow-x: auto; padding-bottom: .5rem; -webkit-overflow-scrolling: touch; }
  .filter_tabs .filter_tab { white-space: nowrap; flex-shrink: 0; }
  .footer_top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer_brand { grid-column: span 2; }
  .enquiry_form .form_row { grid-template-columns: 1fr; }
  .featured_specs { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  :root { --topbar-h: 34px; }
  .container, .container_wide { padding: 0 1rem; }
  
  /* Top bar improvements */
  .top_bar { display: block; }
  .top_bar_inner { padding: 0 .65rem; }
  .top_bar_left, .top_bar_right { gap: .45rem; }
  .top_bar_link { font-size: 0; }
  .top_bar_social { display: flex; gap: .4rem; }
  .top_bar_social a { width: 22px; height: 22px; }
  .top_wa { padding: .15rem; font-size: 0; }
  
  /* Hero section improvements */
  .hero_section { min-height: auto !important; }
  .hero_content { padding-top: .5rem !important; padding-right: 0 !important; padding-left: 0 !important; min-height: 50vh !important; display: flex !important; flex-direction: column !important; justify-content: flex-end !important; position: relative !important; }
  .hero_text_block { padding: 0 1rem 1rem 1rem !important; position: relative !important; margin-top: auto !important; }
  .hero_title { font-size: 1.6rem !important; }
  .hero_sub { font-size: 17px !important; }
  .hero_badge { font-size: .7rem !important; padding: .3rem .8rem !important; }
  .hero_actions { flex-direction: column !important; gap: .5rem !important; }
  .hero_actions .btn_primary, .hero_actions .btn_secondary { width: 100% !important; justify-content: center !important; padding: .6rem 1.5rem !important; font-size: .9rem !important; }
  .hero_trust { font-size: .75rem !important; flex-wrap: wrap !important; gap: .5rem !important; }
  .hero_controls { bottom: 15px !important; position: relative !important; z-index: 10 !important; }
  .hero_btn { width: 36px !important; height: 36px !important; }
  .hero_dots { gap: .5rem !important; }
  .hero_dot { width: 8px !important; height: 8px !important; }
  
  /* Stats improvements */
  .hero_stats_inner { gap: 1rem; justify-content: center; }
  .stat_item { padding: .75rem 1rem; min-width: 45%; }
  .stat_num { font-size: 1.3rem; }
  .stat_label { font-size: .7rem; }
  
  /* Footer improvements */
  .footer_top { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer_brand { grid-column: 1; }

  /* Footer dropdown on mobile - always expanded */
  .footer_dropdown_menu { display: flex !important; }
  .footer_chevron { display: none; }
  .footer_dropdown_trigger { pointer-events: none; color: var(--gold) !important; }
  
  /* Gallery improvements */
  .gallery_grid { grid-template-columns: 1fr; }
  .gallery_item:first-child { grid-column: 1; }
  
  /* Residential section improvements for small screens */
  .res_strip_wrap { height: 200px; }
  .about_grid, .featured_grid, .enquiry_grid { gap: 1.5rem; }
  .about_content, .featured_content_col, .enquiry_info { padding-inline: .25rem; }
  .res_strip_card { width: 30px; }
  .res_card_name { font-size: .55rem; }
  .res_card_loc { font-size: .55rem; display: none; }
  .res_card_plus { width: 24px; height: 24px; font-size: .8rem; }
  .strip_nav_btn { width: 32px; height: 32px; }
  .rdp_name { font-size: 1rem; }
  .rdp_location { font-size: .7rem; }
  .rdp_thumb { height: 60px; }
  .rdp_btn { font-size: .75rem; padding: .5rem .8rem; }
}
@media (min-width: 1600px) {
  .container      { max-width: 1280px; }
  .container_wide { max-width: 1600px; }
  h1 { font-size: 4.5rem; }
  .section_pad { padding: 100px 0; }
}

/* ═══════════════════════════════════════════════════════════
   NEW COMPONENTS v3.0 — Top Bar, Carousel, Brigade Projects
   ═══════════════════════════════════════════════════════════ */

/* Shift header + content down for the single header */
.site_header { top: 0 !important; }
.hero_section { padding-top: var(--total-top); }
.hero_content { padding-top: 0 !important; }

/* ── HERO: image background + video ─────────────────────────── */
.hero_slide[style*="background-image"] {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.hero_slide[style*="background-image"] .hero_bg_overlay {
  background: linear-gradient(to right, rgba(1,31,40,.72) 0%, rgba(1,60,74,.45) 50%, rgba(1,60,74,.15) 100%);
}
.hero_video_wrap { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero_video_iframe {
  position: absolute;
  top: 50%; left: 50%;
  /* Use viewport-width for iframe on small screens to avoid horizontal overflow caused by vh-based sizing */
  /* Restrict iframe width to account for mobile gutters */
  width: calc(100vw - (var(--mobile-gutter) * 2));
  max-width: calc(100vw - (var(--mobile-gutter) * 2));
  min-width: 0;
  height: 56.25vw; /* 16:9 ratio */
  max-height: 100vh;
  transform: translate(-50%,-50%);
  pointer-events: none;
}

/* ── MOBILE OVERFLOW SAFEGUARDS ───────────────────────────────── */
/* Prevent any accidental horizontal scrolling on small viewports.
   Add conservative rules that allow flex/grid children to shrink. */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Ensure media and embeds never exceed their container */
img, iframe, video, embed, object, .hero_video_iframe {
  max-width: 100%;
  height: auto;
}

/* Allow flex/grid children to shrink instead of forcing overflow */
.res_strip, .res_strip_card, .projects_track, .nav_list, .container, .container_wide, .res_layout, .page_content {
  min-width: 0;
}

/* Slightly reduce side padding on very small screens to avoid scroll gaps */
@media (max-width: 420px) {
  .container, .container_wide { padding-left: 0.75rem; padding-right: 0.75rem; }
}

/* Edge-case: force any element that leaked out to hide overflow */
body > * { box-sizing: border-box; }


/* ── BRIGADE-STYLE RESIDENTIAL SECTION ──────────────────────── */
.res_section { overflow: hidden; background: var(--off-white); }
.res_header_row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; }
.section_header_left { text-align: left; }
.section_header_left .section_tag { margin-bottom: .4rem; }
.section_header_left .section_title { margin-bottom: 0; font-size: clamp(1.4rem,3vw,2.2rem); }
.filter_tabs_inline { display: flex; flex-wrap: wrap; gap: .4rem; }
.filter_tabs_inline .filter_tab { padding: .4rem 1rem; font-size: .82rem; }

/* Main layout: detail panel + strip */
.res_layout { display: flex; gap: 0; min-height: 520px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }

/* Left detail panel */
.res_detail_panel { width: 280px; flex-shrink: 0; background: var(--white); padding: 2rem 1.5rem; display: flex; flex-direction: column; border-right: 1px solid var(--border); }
.rdp_inner { display: flex; flex-direction: column; height: 100%; }
.rdp_logo { margin-bottom: 1rem; }
.rdp_thumb { width: 100%; height: 120px; object-fit: cover; border-radius: var(--radius); }
.rdp_thumb_placeholder { width: 100%; height: 120px; background: linear-gradient(135deg, var(--teal) 0%, var(--teal-mid) 100%); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.rdp_name { font-family: var(--font-head); font-size: 1.3rem; color: var(--teal); margin-bottom: .5rem; line-height: 1.2; }
.rdp_location { display: flex; align-items: center; gap: .35rem; font-size: .82rem; color: var(--muted); margin-bottom: 1rem; }
.rdp_specs { margin-bottom: 1rem; display: flex; flex-direction: column; gap: .3rem; }
.rdp_spec_row { font-size: .82rem; color: var(--muted); line-height: 1.5; }
.rdp_amenities { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.5rem; padding-top: .75rem; border-top: 1px solid var(--border); }
.rdp_amenity { width: 36px; height: 36px; border-radius: 50%; background: var(--off-white); display: flex; align-items: center; justify-content: center; color: var(--teal); border: 1px solid var(--border); cursor: default; }
.rdp_btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: var(--gold); color: var(--teal); font-weight: 700; font-size: .88rem; padding: .7rem 1.2rem; border-radius: var(--radius-pill); transition: var(--transition); margin-top: auto; text-decoration: none; }
.rdp_btn:hover { background: var(--gold-dark); transform: translateY(-2px); }

/* Right strip slider */
.res_strip_wrap { flex: 1; position: relative; overflow: hidden; }
.res_strip { display: flex; height: 100%; transition: transform .4s ease; }
.res_strip_card { flex-shrink: 0; position: relative; cursor: pointer; transition: all .4s ease; overflow: hidden; }
.res_strip_card { width: 80px; } /* collapsed */
.res_strip_card.active { flex: 1; } /* expanded */
.res_card_bg { position: absolute; inset: 0; }
.res_card_bg img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.res_strip_card.active .res_card_bg img { transform: scale(1.03); }
.res_card_bg_default { width: 100%; height: 100%; background: linear-gradient(135deg, var(--teal) 0%, var(--teal-mid) 100%); }
.res_card_overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(1,31,40,.2) 0%, rgba(1,31,40,.75) 100%); transition: background .4s ease; }
.res_strip_card:not(.active) .res_card_overlay { background: rgba(1,20,30,.7); }
/* Vertical text on inactive cards */
.res_card_text { position: absolute; bottom: 0; right: 0; padding: 1.2rem .6rem; writing-mode: vertical-rl; text-orientation: mixed; transform: rotate(180deg); display: flex; flex-direction: column; align-items: center; gap: .5rem; z-index: 2; }
.res_card_name { font-family: var(--font-head); font-size: clamp(.75rem,.8vw,.95rem); color: white; font-weight: 700; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-height: 200px; }
.res_card_loc  { font-size: .68rem; color: rgba(255,255,255,.65); white-space: nowrap; }
/* Plus icon on inactive */
.res_card_plus { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.15); border: 1.5px solid rgba(255,255,255,.4); color: white; display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 300; transition: var(--transition); z-index: 2; }
.res_strip_card:hover .res_card_plus { background: var(--gold); color: var(--teal); border-color: var(--gold); }
.res_strip_card.active .res_card_plus { display: none; }
/* Strip nav buttons */
.strip_nav_btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 40px; height: 40px; border-radius: 50%; background: rgba(228,211,41,.9); color: var(--teal); display: flex; align-items: center; justify-content: center; transition: var(--transition); box-shadow: 0 2px 12px rgba(0,0,0,.3); }
.strip_nav_btn:hover { background: var(--gold); transform: translateY(-50%) scale(1.1); }
.strip_prev { left: .75rem; }
.strip_next { right: .75rem; }

/* ── HERO SECTION SCROLL OFFSET ─────────────────────────────── */
#about, #projects, #services, #why, #partners, #gallery_preview, #enquiry { scroll-margin-top: var(--total-top); }

/* ── RESPONSIVE: New components ──────────────────────────────── */
@media (max-width: 1024px) {
  .res_layout { flex-direction: column; min-height: auto; }
  .res_detail_panel { width: 100%; border-right: none; border-bottom: 1px solid var(--border); padding: 1.5rem; }
  .rdp_thumb { height: 80px; }
  .res_strip_wrap { height: 380px; }
  .res_strip_card { width: 60px; }
}

@media (max-width: 768px) {
  .top_bar_left { gap: .75rem; }
  .top_bar_tag { display: none; }
  .top_bar_inner { padding: 0 .75rem; }
  .top_bar_left, .top_bar_right { display: flex; align-items: center; gap: .5rem; }
  .top_bar_link span:not(svg) { display: none; }
  .top_bar_link { padding: .15rem; }
  .top_bar_link svg { width: 14px; height: 14px; }
  .top_bar_social { display: flex; }
  .top_bar_social a { width: 24px; height: 24px; }
  .top_wa { font-size: 0; padding: .2rem; width: 24px !important; height: 24px !important; justify-content: center; }
  .top_wa svg { width: 13px; height: 13px; }
  .site_header { top: var(--topbar-h) !important; }
  .main_nav { top: calc(var(--topbar-h) + var(--header-h)) !important; }
  .res_header_row { flex-direction: column; align-items: flex-start; }
  .res_strip_wrap { height: 320px; }
  .res_strip_card { width: 48px; }
  .rdp_amenities { display: none; }
  .filter_tabs_inline { width: 100%; overflow-x: auto; padding-bottom: .5rem; -webkit-overflow-scrolling: touch; }
  .filter_tabs_inline .filter_tab { white-space: nowrap; flex-shrink: 0; }
  
  /* Additional mobile improvements */
  .section_header { margin-bottom: 2rem; }
  .section_title { font-size: 1.8rem; }
  .section_sub { font-size: 1rem; }
}

/* Very small screens (under 360px) */
@media (max-width: 360px) {
  .main_nav {
    width: 95vw;
    min-width: auto;
    padding: 1rem;
  }
  .nav_link { padding: .65rem .85rem; font-size: .9rem; }
  .sub_item .nav_link { padding: .55rem .75rem; font-size: .8rem; margin-left: .4rem; }
  .sub_item > .dropdown_trigger { padding: .55rem .75rem; font-size: .8rem; margin-left: .4rem; }
}

@media (max-width: 480px) {
  :root { --topbar-h: 34px; }
  .top_bar { display: block; }
  .top_bar_inner { padding: 0 .65rem; }
  .top_bar_left, .top_bar_right { gap: .45rem; }
  .top_bar_link { font-size: 0; }
  .top_bar_social { display: flex; gap: .4rem; }
  .top_bar_social a { width: 22px; height: 22px; }
  .top_wa { padding: .15rem; font-size: 0; }
  .res_strip_wrap { height: 280px; }
  .about_grid, .featured_grid, .enquiry_grid { gap: 1.25rem; }
  .about_content, .featured_content_col, .enquiry_info { padding-inline: .1rem; }
  .res_strip_card { width: 40px; }
  .res_card_name { font-size: .65rem; }
}
