/* ===================================================
   Royal Painters — Premium Design System & Stylesheet
   Palette: Charcoal Ink, Paper Background, Wet-Paint Teal, Clay
   =================================================== */

:root {
  --ink: #14181C;
  --ink-soft: #232A30;
  --paper: #F6F4EF;
  --paper-dim: #E9E5DB;
  --royal: #0E6E63;         /* Royal Teal - Primary Theme */
  --royal-bright: #14A896;  /* Accent Bright Teal */
  --royal-dark: #073530;    /* Dark Theme Teal background */
  --clay: #C9633A;          /* Clay Red - Star Rating & Accents */
  --white: #FFFFFF;
  --line: rgba(20,24,28,0.1);
  --shadow: 0 10px 30px -15px rgba(20,24,28,0.15);
  --shadow-hover: 0 20px 40px -15px rgba(14,110,99,0.25);
  
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Outfit', 'Inter', -apple-system, sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.icon-svg {
  width: 1.1em;
  height: 1.1em;
  display: inline-block;
  flex: 0 0 auto;
}

.icon-stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-fill {
  fill: currentColor;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--paper-dim);
}

.section-dark {
  background: var(--ink);
  color: var(--white);
}

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

.section-head {
  margin-bottom: 60px;
}

.section-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--royal);
  margin-bottom: 12px;
}

.section-head h2, .section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-head p {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 600px;
}

.section-dark .section-head p {
  color: rgba(255,255,255,0.8);
}

/* Typography styles */
.fraunces-title {
  font-family: var(--font-display);
  font-weight: 700;
}

/* ---------- Buttons ---------- */
.btn-primary, .btn-secondary, .btn-wa, .btn-wa-large, .btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--royal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--royal-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14,110,99,0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn-wa {
  background: #25D366;
  color: var(--white);
  gap: 8px;
  padding: 10px 20px;
}

.btn-wa:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37,211,102,0.25);
}

.btn-wa-large {
  background: #25D366;
  color: var(--white);
  font-size: 1.1rem;
  padding: 16px 36px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 25px rgba(37,211,102,0.2);
}

.btn-wa-large:hover {
  background: #20ba5a;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37,211,102,0.3);
}

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
  padding: 8px 0;
  color: var(--ink-soft);
}

.top-bar-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left a {
  color: var(--royal);
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}

.top-bar-left a:hover {
  color: var(--royal-bright);
}

.top-bar-right {
  display: flex;
  gap: 16px;
}

.top-bar-right a {
  color: var(--ink-soft);
}

.top-bar-right .icon-svg {
  width: 15px;
  height: 15px;
  color: var(--royal);
}

.top-bar-right a:hover {
  color: var(--royal);
}

/* ---------- Site Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(246, 244, 239, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--ink) 0%, var(--royal-dark) 100%);
  box-shadow: 0 10px 24px rgba(20,24,28,0.18);
  flex: 0 0 auto;
}

.brand img {
  height: 42px;
  width: auto;
  min-width: 178px;
  object-fit: contain;
}

/* Header Links */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-link-item {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  padding: 8px 0;
}

.nav-link-item:hover, .nav-link-item.active {
  color: var(--royal);
}

.nav-link-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--royal);
  transition: var(--transition);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--ink);
  transition: var(--transition);
}

/* ---------- Hero Carousel ---------- */
.hero-carousel {
  position: relative;
  height: 620px;
  overflow: hidden;
  background: var(--ink);
}

.carousel-track {
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(20, 24, 28, 0.75) 0%, rgba(7, 53, 48, 0.7) 100%);
  z-index: 2;
}

.carousel-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  max-width: 680px;
}

.carousel-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--royal-bright);
  margin-bottom: 20px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s ease 0.2s;
}

.carousel-slide.active .carousel-eyebrow {
  transform: translateY(0);
  opacity: 1;
}

.carousel-content h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 20px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s ease 0.4s;
}

.carousel-slide.active h1 {
  transform: translateY(0);
  opacity: 1;
}

.highlight-stroke {
  position: relative;
  display: inline-block;
}

.highlight-stroke::after {
  content: '';
  position: absolute;
  left: -2%;
  bottom: 4px;
  width: 104%;
  height: 8px;
  background: rgba(20, 168, 150, 0.4);
  z-index: -1;
  border-radius: 4px;
}

.carousel-lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  max-width: 50ch;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s ease 0.6s;
}

.carousel-slide.active .carousel-lead {
  transform: translateY(0);
  opacity: 1;
}

.carousel-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s ease 0.8s;
}

.carousel-slide.active .carousel-actions {
  transform: translateY(0);
  opacity: 1;
}

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dots .dot.active {
  background: var(--royal-bright);
  transform: scale(1.3);
}

/* ---------- About Section ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-sub-block {
  margin-top: 28px;
}

.about-sub-block h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--royal);
}

.about-sub-block p {
  color: var(--ink-soft);
  font-size: 1rem;
}

/* About Visuals */
.about-visual-content .image-wrapper {
  position: relative;
  padding-bottom: 30px;
}

.main-about-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  object-fit: cover;
  height: 420px;
}

.floating-accent-card {
  position: absolute;
  bottom: 0;
  left: -40px;
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px rgba(20,24,28,0.12);
  max-width: 320px;
  border-left: 5px solid var(--royal);
  z-index: 10;
}

.accent-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--royal);
  background: rgba(14, 110, 99, 0.08);
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.accent-icon .icon-svg {
  width: 28px;
  height: 28px;
}

.floating-accent-card h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 700;
}

.floating-accent-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* ---------- Interactive Expertise Banners ---------- */
.bg-gradient-teals {
  background: linear-gradient(135deg, var(--ink) 0%, var(--royal-dark) 100%);
}

.expertise-banners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.expertise-card {
  position: relative;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.expertise-card .card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.expertise-card:hover .card-bg {
  transform: scale(1.08);
}

.expertise-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(7, 53, 48, 0.9) 0%, rgba(20, 24, 28, 0.4) 60%, rgba(20, 24, 28, 0.1) 100%);
  z-index: 2;
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  z-index: 3;
  color: var(--white);
}

.card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--royal);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 6px;
  font-weight: 600;
}

.card-desc {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.4;
}

/* ---------- Services Modern Grid ---------- */
.services-modern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.service-modern-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(20,24,28,0.02);
}

.service-modern-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(14, 110, 99, 0.2);
}

.card-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: rgba(14, 110, 99, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--royal);
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-modern-card:hover .card-icon-wrap {
  background: var(--royal);
  color: var(--white);
}

.card-icon-wrap svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.service-modern-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.service-modern-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.services-tagline {
  margin-top: 50px;
  font-size: 1.15rem;
  font-weight: 600;
}

.services-tagline a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--royal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.services-tagline .icon-svg {
  width: 18px;
  height: 18px;
  text-decoration: none;
}

.services-tagline a:hover {
  color: var(--royal-bright);
}

/* ---------- Performance Progress Section ---------- */
.charts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
  text-align: center;
}

.chart-item {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.svg-chart-container {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
}

.progress-ring {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}

.progress-ring-bg {
  fill: none;
  stroke: rgba(14, 110, 99, 0.08);
  stroke-width: 8;
}

.progress-ring-circle {
  fill: none;
  stroke: var(--royal);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 314.16;
  stroke-dashoffset: 314.16; /* Starts fully hidden */
  transition: stroke-dashoffset 2s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.chart-percentage-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
}

.chart-item h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.chart-item p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ---------- Why Choose Us ---------- */
.why-choose-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.why-choose-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.choose-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  cursor: pointer;
  transition: var(--transition);
}

.choose-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.choose-number {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--royal);
  background: rgba(14, 110, 99, 0.06);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.choose-card.active .choose-number, .choose-card:hover .choose-number {
  background: var(--royal);
  color: var(--white);
}

.choose-card-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.choose-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
  padding-left: 52px;
}

.choose-card.active .choose-card-body {
  max-height: 200px;
  margin-top: 12px;
}

.choose-card-body p {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.why-choose-text .lead-text {
  font-size: 1.15rem;
  color: var(--royal-dark);
  margin-bottom: 18px;
}

.why-choose-text p {
  color: var(--ink-soft);
  margin-bottom: 14px;
}

/* ---------- Gallery Grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(20,24,28,0.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px 16px;
  background: linear-gradient(to top, rgba(20,24,28,0.85) 0%, rgba(20,24,28,0.4) 60%, transparent 100%);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  z-index: 5;
  transform: translateY(4px);
  transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-empty {
  padding: 60px;
  text-align: center;
  color: var(--ink-soft);
  border: 2px dashed var(--line);
  border-radius: var(--radius-lg);
  grid-column: 1/-1;
  font-size: 1.05rem;
}

/* ---------- Reviews Layout ---------- */
.reviews-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: start;
  margin-top: 20px;
}

.reviews-list-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 12px;
}

.reviews-list-container::-webkit-scrollbar {
  width: 6px;
}
.reviews-list-container::-webkit-scrollbar-track {
  background: rgba(20,24,28,0.03);
  border-radius: 4px;
}
.reviews-list-container::-webkit-scrollbar-thumb {
  background: rgba(20,24,28,0.15);
  border-radius: 4px;
}

.review-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(20,24,28,0.02);
  transition: var(--transition);
}

.review-card:hover {
  border-color: rgba(14,110,99,0.15);
  box-shadow: 0 10px 25px rgba(20,24,28,0.05);
}

.review-stars {
  color: var(--clay);
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 12px;
}

.review-star {
  display: inline-flex;
  width: 18px;
  height: 18px;
}

.review-star.empty {
  color: rgba(20,24,28,0.18);
}

.star-icon {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.review-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 14px;
}

.review-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-name::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 2px;
  background: var(--royal);
}

/* Review Form */
.review-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 25px rgba(20,24,28,0.03);
}

.review-form-card h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--ink);
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--paper);
  color: var(--ink);
  transition: var(--transition);
}

.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--royal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(14, 110, 99, 0.1);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.star-picker {
  display: flex;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.star-picker span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  color: rgba(20,24,28,0.15);
  transition: var(--transition);
}

.star-picker span.active, .star-picker span:hover {
  color: var(--clay);
  transform: scale(1.1);
}

.star-picker span:focus-visible {
  outline: 2px solid var(--royal);
  outline-offset: 4px;
  border-radius: 4px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 12px;
  text-align: center;
}

/* ---------- Contact Box Panel ---------- */
.contact-box-panel {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  box-shadow: 0 15px 40px rgba(20,24,28,0.15);
  background-image: linear-gradient(135deg, var(--ink) 0%, var(--royal-dark) 100%);
}

.contact-box-left h2 {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.contact-box-left p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  max-width: 44ch;
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  background: rgba(255,255,255,0.08);
  color: var(--royal-bright);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon .icon-svg {
  width: 22px;
  height: 22px;
}

.contact-info-list strong {
  display: block;
  font-size: 1rem;
  color: var(--royal-bright);
  margin-bottom: 4px;
}

.contact-info-list p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.contact-info-list a:hover {
  color: var(--royal-bright);
}

/* ---------- Main Footer ---------- */
.main-footer {
  background: var(--white);
  padding: 80px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand-col .footer-logo {
  width: max-content;
  margin-bottom: 20px;
}

.footer-brand-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 24px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
}

.social-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(20,24,28,0.05);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: var(--transition);
}

.social-circle .icon-svg {
  width: 18px;
  height: 18px;
}

.social-circle.wa:hover {
  background: #25D366;
  color: var(--white);
}

.social-circle.fb:hover {
  background: #1877F2;
  color: var(--white);
}

.social-circle.ig:hover {
  background: #E1306C;
  color: var(--white);
}

.footer-grid h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links-col ul, .footer-services-col ul {
  list-style: none;
}

.footer-links-col li, .footer-services-col li {
  margin-bottom: 12px;
}

.footer-links-col a, .footer-services-col a {
  font-size: 0.95rem;
}

.footer-links-col a:hover, .footer-services-col a:hover {
  color: var(--royal);
  padding-left: 4px;
}

.footer-contact-col p {
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.footer-contact-col .phone-link {
  font-size: 0.95rem;
}

.footer-contact-col .phone-link a {
  font-weight: 600;
}

.footer-contact-col .phone-link a:hover {
  color: var(--royal);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

.scroll-top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.scroll-top-link .icon-svg {
  width: 16px;
  height: 16px;
}

.scroll-top-link:hover {
  color: var(--royal);
}

/* ---------- Toast Notification ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 2000;
  box-shadow: 0 10px 25px rgba(20,24,28,0.25);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

/* ---------- Responsive Styles (Media Queries) ---------- */

@media (max-width: 992px) {
  .nav-links {
    gap: 16px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-visual-content .image-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .floating-accent-card {
    left: 20px;
    bottom: -20px;
  }

  .expertise-banners {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-modern-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .charts-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .reviews-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-box-panel {
    grid-template-columns: 1fr;
    padding: 40px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .brand {
    padding: 7px 10px;
  }

  .brand img {
    height: 36px;
    min-width: 153px;
  }

  .top-bar-right {
    display: none; /* Hide phone list on mobile topbar (kept in footer/cta) */
  }
  
  .top-bar-wrap {
    justify-content: center;
    text-align: center;
  }

  /* Hamburger Navigation Drawer */
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--paper);
    z-index: 999;
    padding: 40px 24px;
    border-top: 1px solid var(--line);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.1, 0.8, 0.2, 1);
  }

  .main-nav.open {
    transform: translateX(0);
    box-shadow: 10px 0 30px rgba(0,0,0,0.05);
  }

  .nav-links {
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }

  .nav-link-item {
    font-size: 1.25rem;
    display: block;
    width: 100%;
  }

  .header-cta {
    display: none; /* Hide header cta on small mobile to make space */
  }

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

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

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

  /* Hero Content */
  .hero-carousel {
    height: 520px;
  }

  .carousel-content h1 {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .carousel-lead {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .expertise-banners {
    grid-template-columns: 1fr;
  }

  .services-modern-grid {
    grid-template-columns: 1fr;
  }

  .charts-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .floating-accent-card {
    position: relative;
    left: 0;
    bottom: 0;
    margin-top: 20px;
    max-width: 100%;
  }

  .main-about-img {
    height: 300px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Reduced Motion preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
