/* ==========================================================================
   AL FARIQ GROUP — STYLESHEET
   Apple-Inspired Fluid Interface Design (SKILL.md)
   Materials: Translucent Glass, Depth, Critically Damped Springs, Optical Tracking
   Color System: Deep Navy Slate (#0F172A), Crisp White, Imperial UAE Gold (#C5A059)
   ========================================================================== */

:root {
  /* Surface & Background */
  --bg-page: #F8FAFC;
  --bg-white: #FFFFFF;
  --bg-dark: #0F172A;
  --bg-dark-surface: #1E293B;

  /* Text System */
  --text-main: #0F172A;
  --text-body: #475569;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;

  /* Gold Palette */
  --gold-primary: #C5A059;
  --gold-light: #E5C77D;
  --gold-dark: #8C6A12;
  --gold-gradient: linear-gradient(135deg, #E5C77D 0%, #C5A059 100%);

  /* Borders & Translucency (Apple Materials §12) */
  --border-light: rgba(15, 23, 42, 0.08);
  --border-glass: rgba(255, 255, 255, 0.22);
  --border-glass-bright: rgba(255, 255, 255, 0.4);

  /* Elevations (Apple Depth §12) */
  --shadow-card: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 24px 50px -10px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.08);

  /* Apple Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-card: 22px;
  --radius-pill: 9999px;

  /* Typography */
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Springs & Motion (Apple Fluid Motion §4, Critically Damped) */
  --spring-default: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --spring-snappy: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-press: 100ms ease-out;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-page);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--spring-snappy);
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.text-center {
  text-align: center;
}

/* Section Header Typography (Optical tracking §15) */
.section-title-wrap {
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.sub-heading {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 0.5rem;
}

.sub-heading-light {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.main-heading {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   Navigation Bar (Apple Materials §12 Translucent Chrome)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--spring-default);
  padding: 1.15rem 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.site-header.scrolled {
  padding: 0.75rem 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-emblem {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0F172A;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  transition: transform var(--spring-snappy);
}

.brand-logo:hover .brand-emblem {
  transform: scale(1.05);
}

.brand-emblem svg {
  width: 22px;
  height: 22px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0F172A;
  line-height: 1.1;
}

.brand-arabic {
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--gold-primary);
  font-weight: 600;
}

.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-body);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: #0F172A;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: width var(--spring-default);
  border-radius: var(--radius-pill);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1010;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #0F172A;
  border-radius: 2px;
  transition: all var(--spring-default);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 78%;
  max-width: 320px;
  height: 100vh;
  background: #FFFFFF;
  border-left: 1px solid var(--border-light);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  padding: 5.5rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right var(--spring-default);
  z-index: 1005;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-link {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

/* ==========================================================================
   Buttons (Apple Active Press Feedback §1)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.72rem 1.6rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform var(--transition-press), background-color var(--spring-snappy), box-shadow var(--spring-snappy);
  border: 1px solid transparent;
  text-align: center;
}

/* Rule 1: Instant active press feedback */
.btn:active {
  transform: scale(0.97);
  transition: transform var(--transition-press);
}

.btn-primary {
  background-color: #0F172A;
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: #1E293B;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.2);
}

.btn-gold {
  background: var(--gold-gradient);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.btn-gold:hover {
  box-shadow: 0 8px 25px rgba(197, 160, 89, 0.45);
  filter: brightness(1.05);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
}

.btn-outline-white:hover {
  background: #FFFFFF;
  color: #0F172A;
  border-color: #FFFFFF;
}

.btn-outline-dark {
  background: #FFFFFF;
  color: #0F172A;
  border: 1px solid #CBD5E1;
}

.btn-outline-dark:hover {
  border-color: #0F172A;
  background: #F8FAFC;
}

.btn-lg {
  padding: 0.85rem 2.2rem;
  font-size: 0.95rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Hero Showcase Section (Merged Headline & 3 Apple Cards)
   ========================================================================== */
.hero-showcase-section {
  position: relative;
  min-height: 100vh;
  padding: 7.75rem 0 5.5rem;
  background-color: #0B111E;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-banner {
  position: relative;
  min-height: 82vh;
  padding: 9rem 0 6rem;
  background-color: #0B111E;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.25rem;
  flex-wrap: wrap;
}

.hero-image-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.78) 0%,
    rgba(15, 23, 42, 0.88) 45%,
    rgba(11, 17, 30, 0.98) 100%
  );
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3.25rem;
  width: 100%;
}

.hero-intro {
  max-width: 820px;
  margin: 0 auto;
  color: #FFFFFF;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 1.15rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: #F8FAFC;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(10px);
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--gold-light);
  box-shadow: 0 0 10px var(--gold-light);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.desktop-br {
  display: block;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: #CBD5E1;
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto;
  font-weight: 400;
}

/* The 3 Cards Grid (Integrated directly inside Hero) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

/* The Apple Full-Media Card */
.apple-card {
  position: relative;
  height: 500px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform var(--spring-default), box-shadow var(--spring-default), border-color var(--spring-default);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  background-color: #0F172A;
}

/* Spring scale and depth on hover */
.apple-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55), 0 0 25px rgba(197, 160, 89, 0.2);
  border-color: rgba(229, 199, 125, 0.5);
}

/* Rule 1: Active touch-down response */
.apple-card:active {
  transform: scale(0.985);
  transition: transform var(--transition-press);
}

/* Card Background Media */
.card-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.card-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-card:hover .card-bg-img {
  transform: scale(1.06);
}

/* Gradient Scrim for flawless text contrast directly on top of image */
.card-scrim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.4) 0%,
    rgba(15, 23, 42, 0.1) 30%,
    rgba(15, 23, 42, 0.65) 60%,
    rgba(15, 23, 42, 0.95) 100%
  );
  transition: opacity var(--spring-default);
}

.apple-card:hover .card-scrim {
  opacity: 0.96;
}

/* Text Content Overlay: Sitting directly on top */
.card-overlay-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem;
  color: #FFFFFF;
}

/* Top Bar floating tags */
.card-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.card-pill {
  padding: 0.38rem 0.85rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--border-glass);
  border-top: 1px solid var(--border-glass-bright);
  color: #FFFFFF;
}

.card-loc-pill {
  padding: 0.38rem 0.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

/* Bottom info overlaid on bottom of the card */
.card-footer-info {
  display: flex;
  flex-direction: column;
}

.card-entity {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.35rem;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 0.65rem;
  line-height: 1.15;
}

.card-tagline {
  font-size: 0.92rem;
  color: #CBD5E1;
  line-height: 1.55;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Actions inside card */
.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* Translucent Frosted Glass Button */
.btn-glass-card {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-pill);
}

.btn-glass-card:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: #FFFFFF;
}

.btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform var(--spring-snappy);
}

.btn-glass-card:hover .btn-arrow {
  transform: translateX(3px);
}

/* Solid White Pill Action Button */
.btn-white-action {
  background: #FFFFFF;
  color: #0F172A;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-white-action:hover {
  background: #F1F5F9;
  transform: translateY(-1px);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
  padding: 5.5rem 0 6.5rem;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.about-box {
  max-width: 1040px;
  margin: 0 auto;
}

.about-header {
  margin-bottom: 3.5rem;
}

.pillars-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 2.25rem 2rem;
  transition: transform var(--spring-default), box-shadow var(--spring-default);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.pillar-icon {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-primary);
  margin-bottom: 1rem;
}

.pillar-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.pillar-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
  padding: 6.5rem 0;
  background-color: var(--bg-page);
}

.contact-card {
  background: #FFFFFF;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  max-width: 1080px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.contact-info {
  background: #0F172A;
  color: #FFFFFF;
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin: 0.5rem 0 1rem;
  line-height: 1.2;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.contact-p {
  font-size: 0.98rem;
  color: #CBD5E1;
  line-height: 1.65;
  margin-bottom: 2.5rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  min-width: 0;
}

.detail-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  min-width: 0;
}

.detail-row > div {
  min-width: 0;
  flex: 1;
}

.detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
}

.detail-icon svg {
  width: 20px;
  height: 20px;
}

.detail-row strong {
  display: block;
  font-size: 0.92rem;
  color: #FFFFFF;
  margin-bottom: 0.15rem;
  overflow-wrap: break-word;
}

.detail-row p {
  font-size: 0.88rem;
  color: #94A3B8;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  line-height: 1.45;
}

/* Clean Form */
.contact-form-side {
  padding: 3.5rem 3rem;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.clean-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  width: 100%;
  min-width: 0;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.form-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
  min-width: 0;
}

.form-item label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-size: 0.92rem;
  color: var(--text-main);
  transition: all var(--spring-snappy);
}

.form-input:focus {
  background: #FFFFFF;
  border-color: #0F172A;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%23475569' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-position: right 0.85rem center;
  background-repeat: no-repeat;
  background-size: 1.2em 1.2em;
  padding-right: 2.5rem;
}

textarea.form-input {
  resize: vertical;
  min-height: 90px;
}

.form-feedback {
  margin-top: 0.75rem;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  text-align: center;
}

.form-feedback.success {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.form-feedback.error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

/* ==========================================================================
   Modals (Apple Modal Material & Scrim §12)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--spring-default), visibility var(--spring-default);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-card);
  max-width: 720px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  transform: translateY(24px) scale(0.97);
  transition: transform var(--spring-default);
}

.modal-backdrop.open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #F1F5F9;
  border: none;
  color: #475569;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.35rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--spring-snappy);
  z-index: 10;
}

.modal-close:hover {
  background: #0F172A;
  color: #FFFFFF;
  transform: rotate(90deg);
}

.modal-header {
  padding: 2rem 2.25rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.modal-tag {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  display: block;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.modal-body {
  padding: 1.85rem 2.25rem;
}

.modal-img-wrap {
  width: 100%;
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.75rem;
}

.modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-prose h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 1.25rem;
  margin-bottom: 0.65rem;
}

.modal-prose p {
  color: var(--text-body);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.modal-feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin: 1rem 0;
}

.modal-feature-card {
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
}

.modal-feature-card h5 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.modal-feature-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.modal-footer {
  padding: 1.25rem 2.25rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  background: #F8FAFC;
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #0F172A;
  color: #FFFFFF;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 3000;
  max-width: 400px;
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--spring-default);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.toast-icon {
  width: 32px;
  height: 32px;
  background: #10B981;
  border-radius: 50%;
  color: #FFFFFF;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.toast-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.15rem;
}

.toast-msg {
  font-size: 0.82rem;
  color: #CBD5E1;
  line-height: 1.35;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 3.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo .brand-title {
  color: #FFFFFF;
}

.footer-copy {
  font-size: 0.86rem;
  color: #64748B;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.footer-nav a {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  color: #94A3B8;
}

.footer-nav a:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   Reduced Motion Support (Rule 14 in SKILL.md)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .apple-card:hover {
    transform: none !important;
  }
  .apple-card:hover .card-bg-img {
    transform: none !important;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
  .sector-grid,
  .portfolio-grid,
  .food-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.5rem;
  }
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }
  .hero-showcase-section {
    padding: 6.5rem 0 3.5rem;
    overflow-x: hidden;
  }
  .hero-container {
    gap: 2rem;
    width: 100%;
    max-width: 100%;
  }
  .hero-title {
    font-size: 2.15rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
  .desktop-br {
    display: inline;
  }
  .desktop-nav, #navInquireBtn, .nav-actions > .btn {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .sector-grid,
  .portfolio-grid,
  .food-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
  }
  .sector-card,
  .portfolio-item,
  .food-card {
    min-width: 0;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .sector-card {
    padding: 1.75rem 1.25rem;
  }
  .portfolio-content {
    padding: 1.5rem 1.25rem;
  }
  .food-card {
    padding: 1.75rem 1.25rem;
  }
  .apple-card {
    height: auto;
    min-height: 460px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  /* Prevent horizontal card expansion on mobile tap */
  .apple-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  }
  .card-overlay-content {
    padding: 1.35rem 1.15rem;
    min-height: 460px;
    gap: 1.25rem;
    width: 100%;
    box-sizing: border-box;
  }
  .card-header-bar {
    gap: 0.45rem;
    width: 100%;
  }
  .card-pill {
    font-size: 0.68rem;
    padding: 0.32rem 0.65rem;
    letter-spacing: 0.04em;
    max-width: 100%;
  }
  .card-loc-pill {
    font-size: 0.68rem;
    padding: 0.32rem 0.6rem;
  }
  .card-title {
    font-size: 1.6rem;
    margin-bottom: 0.45rem;
  }
  .card-tagline {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1.15rem;
    -webkit-line-clamp: 3;
  }
  .card-actions {
    gap: 0.5rem;
    width: 100%;
  }
  .btn-glass-card,
  .btn-white-action {
    padding: 0.65rem 0.75rem;
    font-size: 0.82rem;
    gap: 0.35rem;
    min-width: 0;
  }
  .pillars-row {
    grid-template-columns: 1fr;
  }
  
  /* Contact Card & Inquiry Form Mobile Rules */
  .contact-section {
    padding: 4.5rem 0 3.5rem;
  }
  .contact-card {
    border-radius: 18px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    box-sizing: border-box;
  }
  .contact-info {
    padding: 2.25rem 1.35rem;
    gap: 1.75rem;
    width: 100%;
    box-sizing: border-box;
  }
  .contact-title {
    font-size: 1.65rem;
    line-height: 1.25;
    margin: 0.35rem 0 0.75rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .contact-p {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 1.75rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .contact-details {
    gap: 1.25rem;
    width: 100%;
    box-sizing: border-box;
  }
  .detail-row {
    gap: 0.85rem;
    width: 100%;
    box-sizing: border-box;
  }
  .detail-icon {
    width: 36px;
    height: 36px;
  }
  .detail-icon svg {
    width: 18px;
    height: 18px;
  }
  .detail-row strong {
    font-size: 0.88rem;
  }
  .detail-row p {
    font-size: 0.84rem;
    line-height: 1.45;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .contact-form-side {
    padding: 2.25rem 1.35rem;
    width: 100%;
    box-sizing: border-box;
  }
  .form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
  }
  .form-input {
    font-size: 0.88rem;
    padding: 0.75rem 0.85rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .footer-left {
    flex-direction: column;
    gap: 1rem;
  }
  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-pill {
    font-size: 0.72rem;
    padding: 0.35rem 0.85rem;
    max-width: 100%;
    text-align: center;
  }
  .card-overlay-content {
    padding: 1.25rem 1rem;
  }
  .btn-glass-card,
  .btn-white-action {
    padding: 0.62rem 0.6rem;
    font-size: 0.8rem;
  }
  .contact-info,
  .contact-form-side {
    padding: 1.85rem 1.15rem;
  }
  .contact-title {
    font-size: 1.48rem;
  }
  .contact-p {
    font-size: 0.86rem;
    margin-bottom: 1.4rem;
  }
  .sector-card,
  .food-card {
    padding: 1.5rem 1rem;
  }
  .portfolio-content {
    padding: 1.25rem 1rem;
  }
}

@media (max-width: 375px) {
  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
  .card-actions {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
  .btn-glass-card,
  .btn-white-action {
    width: 100%;
    padding: 0.65rem 1rem;
  }
  .contact-info,
  .contact-form-side {
    padding: 1.65rem 0.95rem;
  }
  .contact-title {
    font-size: 1.38rem;
  }
  .detail-row {
    gap: 0.7rem;
  }
  .detail-icon {
    width: 32px;
    height: 32px;
  }
  .detail-icon svg {
    width: 16px;
    height: 16px;
  }
  .detail-row p {
    font-size: 0.8rem;
  }
}
