/* ============================================
   PREMIUM RENTALS JÁVEA — Design System
   ============================================ */

/* --- Font Faces --- */
@font-face {
  font-family: 'Cardo';
  src: url('../fonts/Cardo-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cardo';
  src: url('../fonts/Cardo-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cardo';
  src: url('../fonts/Cardo-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto-Italic-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* --- CSS Variables --- */
:root {
  --cream: #f5f1ec;
  --dark-brown: #2a1e1a;
  --taupe: #c2b5a7;
  --light-beige: #eae2d7;
  --deep-brown: #3c271f;
  --white: #ffffff;
  --font-heading: 'Cardo', 'Georgia', serif;
  --font-body: 'Roboto', 'Helvetica Neue', sans-serif;
  --max-width: 1200px;
  --nav-height: 80px;
  --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--dark-brown);
  background-color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition);
}
a:hover {
  opacity: 0.75;
}
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.25;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.15rem; }
p {
  font-size: 1rem;
  line-height: 1.8;
}
.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }

/* Centered prose blocks — wider max-width avoids awkward last-line centering */
.prose-centered {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.prose-centered p {
  margin-bottom: 16px;
  max-width: none;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
section {
  padding: 100px 0;
}
.section-cream { background-color: var(--cream); }
.section-beige { background-color: var(--light-beige); }
.section-dark {
  background-color: var(--deep-brown);
  color: var(--cream);
}
.section-dark p,
.section-dark h2,
.section-dark h3 { color: var(--cream); }

/* --- Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   NAVIGATION
   ============================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(194, 181, 167, 0.25);
  transition: box-shadow var(--transition);
}
.site-nav.scrolled {
  box-shadow: 0 2px 20px rgba(42, 30, 26, 0.06);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 64px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-brown);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--dark-brown);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-links a:hover { opacity: 1; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--dark-brown);
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 40px) 24px 60px;
  overflow: hidden;
}
.hero-home {
  min-height: 100vh;
  background: linear-gradient(160deg, rgba(42,30,26,0.55) 0%, rgba(60,39,31,0.45) 100%),
              url('../img/hero-house-pool.jpg') center/cover no-repeat;
}
section.hero-home h1,
section.hero-home .tagline { color: #ffffff !important; }
section.hero-home .btn { border-color: #ffffff; color: #ffffff; }
section.hero-home .btn:hover { background: #ffffff; color: var(--dark-brown); }
.hero-page {
  min-height: 70vh;
  background: linear-gradient(160deg, rgba(42,30,26,0.55) 0%, rgba(60,39,31,0.45) 100%),
              url('../img/hero-modern-house.png') center/cover no-repeat;
}
.hero-page h1,
.hero-page .tagline { color: #ffffff !important; }
.hero-page .btn { border-color: #ffffff; color: #ffffff; }
.hero-page .btn:hover { background: #ffffff; color: var(--dark-brown); }
.hero-partner {
  background: linear-gradient(160deg, rgba(42,30,26,0.55) 0%, rgba(60,39,31,0.45) 100%),
              url('../img/linens-sofa.jpg') center/cover no-repeat;
}
.hero-about {
  background: linear-gradient(160deg, rgba(42,30,26,0.55) 0%, rgba(60,39,31,0.45) 100%),
              url('../img/property-lounge.jpg') center/cover no-repeat;
}
.hero-contact {
  background: linear-gradient(160deg, rgba(42,30,26,0.55) 0%, rgba(60,39,31,0.45) 100%),
              url('../img/property-exterior.jpg') center/cover no-repeat;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero-logo {
  width: 130px;
  height: auto;
  margin: 0 auto 32px;
}
.hero h1 {
  color: var(--dark-brown);
  margin-bottom: 20px;
}
.hero-home h1 {
  font-weight: 300;
  font-size: clamp(1.4rem, 3.2vw, 2.8rem);
  letter-spacing: 0.18em;
  white-space: nowrap;
}
.hero .tagline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: var(--deep-brown);
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* --- Decorative shapes for hero --- */
.hero-home::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194,181,167,0.3) 0%, transparent 70%);
  z-index: 0;
}
.hero-home::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 40%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234,226,215,0.5) 0%, transparent 70%);
  z-index: 0;
}

/* ============================================
   BUTTONS & CTAs
   ============================================ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: 1.5px solid var(--dark-brown);
  color: var(--dark-brown);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.btn:hover {
  background: var(--dark-brown);
  color: var(--cream);
  opacity: 1;
}
.btn-filled {
  background: var(--dark-brown);
  color: var(--cream);
}
.btn-filled:hover {
  background: var(--deep-brown);
  color: var(--white);
}
.btn-light {
  border-color: var(--cream);
  color: var(--cream);
}
.btn-light:hover {
  background: var(--cream);
  color: var(--dark-brown);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  margin-bottom: 16px;
}
.section-header p {
  margin: 0 auto;
  opacity: 0.75;
  font-style: italic;
  font-size: 1.05rem;
}
.section-header .divider {
  width: 120px;
  height: 1.5px;
  background: var(--taupe);
  margin: 20px auto 0;
}

/* ============================================
   CARDS
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.card {
  background: var(--white);
  padding: 40px 32px;
  border: 1px solid rgba(194, 181, 167, 0.3);
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--taupe);
  box-shadow: 0 8px 32px rgba(42, 30, 26, 0.06);
  transform: translateY(-4px);
}
.card-icon {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--taupe);
}
.card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}
.card p {
  font-size: 0.95rem;
  opacity: 0.8;
}

.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ============================================
   SERVICE INTRO (Our Service page)
   ============================================ */
.service-intro p {
  font-size: 1.15rem;
  line-height: 1.9;
}

/* Fixed services grid — always 2 cols on mobile, 3 on medium, exact columns on desktop */
.services-grid-fixed {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (min-width: 769px) {
  .services-grid-fixed { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 993px) {
  .services-grid-fixed { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================
   PILLAR CARDS (Our Service — Redesigned)
   ============================================ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.pillar-card {
  background: var(--white);
  border: 1px solid rgba(194, 181, 167, 0.25);
  overflow: hidden;
  transition: all var(--transition);
}
.pillar-card:hover {
  border-color: var(--taupe);
  box-shadow: 0 8px 32px rgba(42, 30, 26, 0.06);
  transform: translateY(-4px);
}
.pillar-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.pillar-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.pillar-card:hover .pillar-card-img img {
  transform: scale(1.05);
}
.pillar-card-body {
  padding: 32px;
}
.pillar-card-body h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}
.pillar-card-body p {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.7;
}

/* Legacy pillar styles (kept for backwards compat if needed) */
.pillar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
}
.pillar:nth-child(even) .pillar-content { order: 2; }
.pillar:nth-child(even) .pillar-visual { order: 1; }
.pillar-content h3 {
  margin-bottom: 16px;
}
.pillar-content p {
  margin-bottom: 20px;
  opacity: 0.8;
}
.pillar-visual {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--cream) 0%, var(--light-beige) 100%);
  border: 1px solid rgba(194, 181, 167, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pillar-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pillar-visual-icon {
  font-size: 3rem;
  color: var(--taupe);
}

/* Property gallery on homepage */
.property-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.property-gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 1px solid rgba(194,181,167,0.2);
}
.property-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.property-gallery-item:hover img {
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .property-gallery { grid-template-columns: 1fr; }
}

/* Testimonial author with avatar */
.testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

/* ============================================
   TIMELINE (How We Work)
   ============================================ */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--taupe);
}
.timeline-step {
  position: relative;
  padding-left: 72px;
  padding-bottom: 48px;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--taupe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--dark-brown);
  z-index: 1;
}
.timeline-step h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.timeline-step p {
  font-size: 0.95rem;
  opacity: 0.75;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(194, 181, 167, 0.2);
  transition: all var(--transition);
}
.service-item:hover {
  border-color: var(--taupe);
}
.service-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--deep-brown);
}
.service-item h4 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.service-item p {
  font-size: 0.88rem;
  opacity: 0.7;
  line-height: 1.5;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.testimonial {
  background: var(--white);
  padding: 40px;
  border: 1px solid rgba(194, 181, 167, 0.25);
}
.testimonial-stars {
  color: var(--taupe);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.testimonial blockquote {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 24px;
  opacity: 0.85;
  max-width: none;
}
.testimonial-author {
  font-weight: 500;
  font-size: 0.9rem;
}

/* ============================================
   CHECKLIST
   ============================================ */
.checklist {
  max-width: 700px;
  margin: 0 auto;
}
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(194, 181, 167, 0.2);
}
.checklist-item:last-child { border-bottom: none; }
.check-mark {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--taupe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--deep-brown);
  margin-top: 2px;
}
.checklist-item p {
  font-size: 0.95rem;
  max-width: none;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--white);
  color: var(--dark-brown);
  text-align: center;
  padding: 80px 24px;
  border-top: 1px solid rgba(194, 181, 167, 0.25);
  border-bottom: 1px solid rgba(194, 181, 167, 0.25);
}
.cta-banner h2 {
  color: var(--dark-brown);
  margin-bottom: 16px;
}
.cta-banner p {
  margin: 0 auto 32px;
  opacity: 0.7;
  color: var(--dark-brown);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--dark-brown);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--taupe);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark-brown);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--dark-brown);
}
.form-group textarea {
  min-height: 160px;
  resize: vertical;
}
.contact-details h3 {
  margin-bottom: 24px;
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.contact-info-item .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}
.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--taupe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
}
.social-links a:hover {
  background: var(--dark-brown);
  color: var(--cream);
  border-color: var(--dark-brown);
  opacity: 1;
}

/* Contact page — centered layout */
.contact-centered {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.contact-centered form {
  text-align: left;
  margin-bottom: 48px;
}
.contact-info-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
.contact-info-block {
  text-align: center;
}
.contact-info-block .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin: 0 auto 10px;
}
.contact-info-block p {
  font-size: 0.95rem;
}
.social-links-centered {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.social-links-centered a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--taupe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
}
.social-links-centered a:hover {
  background: var(--dark-brown);
  color: var(--cream);
  border-color: var(--dark-brown);
  opacity: 1;
}

/* ============================================
   ABOUT — Founder Profile (Redesigned)
   ============================================ */
.founder-profile {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: center;
}
.founder-photo {
  width: 240px;
  height: 240px;
  overflow: hidden;
  border-radius: 50%;
  margin: 0 auto;
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder-bio h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 4px;
}
.founder-role {
  font-size: 1rem;
  opacity: 0.6;
  font-style: italic;
  margin-bottom: 24px !important;
}
.founder-bio p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.founder-quote {
  margin-top: 24px !important;
  font-size: 1.05rem !important;
  opacity: 0.75;
  border-left: 2px solid var(--taupe);
  padding-left: 20px;
}

/* Legacy profile styles */
.profile-section {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 700px;
  margin: 0 auto;
}
.profile-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--light-beige), var(--taupe));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--white);
}
.profile-info h3 { margin-bottom: 4px; }
.profile-info .role {
  font-size: 0.9rem;
  opacity: 0.7;
  font-style: italic;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--cream);
  color: var(--dark-brown);
  padding: 72px 0 0;
  border-top: 1px solid rgba(194, 181, 167, 0.3);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(194, 181, 167, 0.3);
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--deep-brown);
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: var(--dark-brown);
  opacity: 0.6;
  transition: opacity var(--transition);
}
.footer-col a:hover { opacity: 1; }
.footer-col p {
  font-size: 0.9rem;
  opacity: 0.6;
  line-height: 1.6;
  max-width: none;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.8rem;
  opacity: 0.4;
}
.footer-bottom a { opacity: 1; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pillar { grid-template-columns: 1fr; gap: 40px; }
  .pillar:nth-child(even) .pillar-content { order: 1; }
  .pillar:nth-child(even) .pillar-visual { order: 2; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 68px; }
  section { padding: 72px 0; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transition: right 0.4s ease;
    box-shadow: -4px 0 24px rgba(0,0,0,0.08);
  }
  .nav-links.open { right: 0; }
  .nav-toggle { display: flex; z-index: 1001; }

  .hero { min-height: 70vh; }
  .hero-home { min-height: 90vh; }
  .hero-home h1 { white-space: normal; }
  .hero-page { min-height: 55vh; }
  .hero-logo { width: 60px; }

  .card-grid,
  .card-grid-4 { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }

  .founder-profile {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .founder-photo {
    width: 200px;
    margin: 0 auto;
    margin-left: auto;
    margin-right: auto;
  }
  .profile-section {
    flex-direction: column;
    text-align: center;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .cta-banner { padding: 56px 24px; }
  .contact-info-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  .btn { padding: 14px 28px; font-size: 0.78rem; }
  .services-grid { grid-template-columns: 1fr; }
}

/* --- Overlay for mobile nav --- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 30, 26, 0.3);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}
