/*
Theme Name: Srikrung Insurance 365
Theme URI: https://www.srikrungbrokerplus.com
Author: พลอย สาสนทาญาติ (กี้)
Description: เว็บไซต์ประกันรถยนต์ออนไลน์ ศรีกรุงโบรคเกอร์
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: srikrung365
*/

/* ==============================
   COLOR VARIABLES
============================== */
:root {
  --green-darkest: #1b5e20;
  --green-dark:    #2e7d32;
  --green-mid:     #388e3c;
  --green-light:   #4caf50;
  --green-pale:    #e8f5e9;
  --green-border:  #a5d6a7;
  --salmon:        #c97c5d;
  --gold:          #c9a227;
  --red-warn:      #c62828;
  --teal-link:     #00897b;
  --text-dark:     #212121;
  --text-mid:      #424242;
  --text-light:    #757575;
  --bg-white:      #ffffff;
  --bg-light:      #f9fafb;
}

/* ==============================
   RESET & BASE
============================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Sarabun', 'Noto Sans Thai', sans-serif;
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.7;
}

a {
  color: var(--teal-link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* ==============================
   TOP ANNOUNCEMENT BAR
============================== */
.announcement-bar {
  background: var(--green-darkest);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
}

.announcement-bar a {
  color: #fff;
  border: 1.5px solid #fff;
  border-radius: 4px;
  padding: 2px 12px;
  margin-left: 10px;
  text-decoration: none;
  font-size: 0.88rem;
}

.announcement-bar a:hover {
  background: rgba(255,255,255,0.15);
  text-decoration: none;
}

/* ==============================
   HEADER — 1-ROW LAYOUT (Logo ซ้าย / Nav ขวา)
============================== */
.site-header {
  background: #fff;
  border-bottom: 2px solid var(--green-darkest);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* โลโก้ + ชื่อเว็บ */
.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 8px 0;
  flex-shrink: 0;
  max-width: 200px;
}

.site-logo img {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}

.site-logo-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-darkest);
  line-height: 1.3;
}

/* Nav (กึ่งกลาง) */
.main-nav {
  flex: 1;
  min-width: 0;
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.main-nav ul li a {
  display: block;
  padding: 16px 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.main-nav ul li a:hover,
.main-nav ul li.current-menu-item a {
  color: var(--green-dark);
  text-decoration: none;
}

.main-nav ul li.current-menu-item a {
  border-bottom: 2px solid var(--green-dark);
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--green-darkest);
  border-radius: 4px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green-darkest);
  border-radius: 2px;
}

/* Mobile Nav */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  .main-nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--green-darkest);
  }

  .main-nav ul.open {
    display: flex;
  }

  .main-nav ul li a {
    padding: 13px 20px;
    color: rgba(255,255,255,0.9);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 0.92rem;
  }

  .main-nav ul li a:hover,
  .main-nav ul li.current-menu-item a {
    color: #fff;
    background: var(--green-dark);
    border-bottom-color: rgba(255,255,255,0.1);
  }

  .main-nav ul li.current-menu-item a {
    border-bottom-width: 1px;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 0 16px;
  }

  .site-logo {
    padding: 12px 0;
  }
}

/* ==============================
   HERO SECTION — Banner Image
============================== */
.hero-section {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  line-height: 0;
  display: block;
  background: none;
  padding: 0 20px;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 480px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

/* ==============================
   BUTTONS
============================== */
.btn-primary {
  display: inline-block;
  background: var(--green-dark);
  color: #fff;
  padding: 14px 40px;
  border-radius: 6px;
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 16px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.btn-primary:hover {
  background: var(--green-darkest);
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

.btn-green {
  display: inline-block;
  background: var(--green-dark);
  color: #fff !important;
  padding: 13px 36px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.2s;
}

.btn-green:hover {
  background: var(--green-darkest);
  text-decoration: none !important;
}

.btn-secondary {
  display: inline-block;
  background: var(--green-mid);
  color: #fff;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: var(--green-dark);
  text-decoration: none;
}

/* ==============================
   SECTION WRAPPERS
============================== */
.site-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 20px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 12px;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--text-mid);
  margin-bottom: 36px;
  font-size: 1.05rem;
}

.section-title-salmon {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--salmon);
  margin-bottom: 12px;
  line-height: 1.4;
}

/* ==============================
   2-COLUMN LAYOUTS
============================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.two-col-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 600px) {
  .two-col,
  .two-col-text {
    grid-template-columns: 1fr;
  }
}

/* ==============================
   AGENT INTRO SECTION (รูปที่ 2)
============================== */
.agent-intro-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 20px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: start;
}

.agent-photo-col {
  text-align: center;
}

.agent-real-photo {
  width: auto;
  max-width: 260px;
  max-height: 340px;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  object-fit: cover;
  object-position: top center;
}

.agent-contact-card {
  margin-top: 16px;
  text-align: center;
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.9;
}

.agent-contact-card p {
  margin: 0;
}

.agent-role-label {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 4px;
}

.btn-green-spaced {
  margin-top: 1.5em;
}

.agent-text-col h2 {
  color: var(--green-dark);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.4;
}

.agent-text-col p {
  color: var(--text-mid);
  margin-bottom: 12px;
  font-size: 1rem;
}

@media (max-width: 600px) {
  .agent-intro-section {
    grid-template-columns: 1fr;
  }
}

/* ==============================
   QUOTE + OPEN-NEW-EXP SECTION (รูปที่ 3)
============================== */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 40px;
}

.split-image {
  overflow: hidden;
  line-height: 0;
}

.split-full-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split-green {
  background: var(--green-darkest);
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}

.split-green .big-quote {
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: 8px;
}

.split-green .quote-text {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.8;
  font-style: italic;
}

.split-green .close-quote {
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
  font-family: Georgia, serif;
  text-align: right;
  width: 100%;
  margin-top: 8px;
}

.split-white {
  background: #fff;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.split-white h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--salmon);
  line-height: 1.4;
  margin-bottom: 20px;
  text-align: center;
}

.split-white p {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: center;
}

@media (max-width: 600px) {
  .split-section {
    grid-template-columns: 1fr;
  }
}

/* ==============================
   BENEFITS + AWARDS SECTION (รูปที่ 4)
============================== */
.benefits-awards-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: start;
}

.benefits-col h2 {
  color: var(--green-dark);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.benefits-list {
  list-style: none;
  padding: 0;
}

.benefits-list li {
  padding: 8px 0 8px 0;
  color: var(--green-dark);
  font-weight: 600;
  font-size: 0.97rem;
  border-bottom: 1px dashed #c8e6c9;
}

.benefits-list li::before {
  content: "- ";
}

.benefits-contact {
  margin-top: 20px;
  font-size: 0.95rem;
}

.benefits-contact strong {
  color: var(--green-dark);
}

.benefits-contact a {
  color: var(--teal-link);
}

.warn-red {
  color: var(--red-warn);
  font-size: 0.72rem;
  margin-top: 14px;
  line-height: 1.7;
}

.awards-photo-col {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.awards-real-photo {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 8px;
  display: block;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

@media (max-width: 600px) {
  .benefits-awards-section {
    grid-template-columns: 1fr;
  }
}

/* ==============================
   VIDEOS SECTION (รูปที่ 5)
============================== */
.videos-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 20px 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .videos-section {
    grid-template-columns: 1fr;
  }
}

/* ==============================
   VIDEO EMBED
============================== */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ==============================
   QUOTE BANNER (รูปที่ 6) — white bg version
============================== */
.quote-banner-white {
  background: #fff;
  padding: 60px 20px;
}

.quote-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.quote-heading {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--green-darkest);
  line-height: 1.25;
  margin-bottom: 16px;
}

.quote-sub {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-darkest);
  margin-bottom: 36px;
}

.quote-bio-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.quote-bio-cols p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.9;
}

.bio-initial {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  margin-right: 4px;
}

@media (max-width: 600px) {
  .quote-heading { font-size: 2rem; }
  .quote-bio-cols { grid-template-columns: 1fr; }
}

.awards-stage-img {
  max-width: 1100px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

/* ==============================
   STORY SECTION (รูปที่ 7)
============================== */
.story-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 20px;
  border: 2px solid var(--green-dark);
  border-radius: 4px;
  position: relative;
}

.story-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.story-real-photo {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  border: 2px solid var(--green-border);
}

.story-text-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.story-text-cols h3 {
  color: var(--green-dark);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 12px;
  margin-top: 18px;
}

.story-text-cols h3:first-child {
  margin-top: 0;
}

.story-text-cols p {
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

@media (max-width: 600px) {
  .story-inner {
    grid-template-columns: 1fr;
  }
  .story-text-cols {
    grid-template-columns: 1fr;
  }
}

/* ==============================
   REGISTER SECTION (รูปที่ 8)
============================== */
.register-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 20px;
}

.register-section h2 {
  color: var(--green-dark);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.register-steps {
  list-style: decimal;
  padding-left: 24px;
  margin-bottom: 20px;
}

.register-steps li {
  color: var(--text-dark);
  font-size: 0.97rem;
  padding: 8px 0;
  line-height: 1.7;
}

.register-steps li a {
  color: var(--teal-link);
}

.register-note {
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 6px;
}

.register-note a {
  color: var(--teal-link);
}

.register-warn {
  color: var(--red-warn);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 14px;
  margin-bottom: 28px;
}

/* ==============================
   SOCIAL ICONS (รูปที่ 9)
============================== */
.social-icons-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 30px 20px 50px;
}

.social-icon-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  font-size: 1.5rem;
  transition: transform 0.2s, opacity 0.2s;
}

.social-icon-btn:hover {
  transform: scale(1.1);
  opacity: 0.85;
  text-decoration: none !important;
}

.social-icon-btn.fb {
  background: #1877f2;
  color: #fff;
}

.social-icon-btn.fb-page {
  background: #3b5998;
  color: #F7A131;
}

.social-icon-btn.yt {
  background: #ff0000;
  color: #fff;
}

.social-icon-btn.link {
  background: #757575;
  color: #fff;
}

/* ==============================
   CARD
============================== */
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 30px;
  margin-bottom: 28px;
}

/* ==============================
   FEATURE GRID
============================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 36px 0;
}

.feature-card {
  background: #fff;
  border-radius: 10px;
  padding: 26px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-top: 4px solid var(--green-mid);
  text-align: center;
}

.feature-card .icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.93rem;
}

/* ==============================
   FAQ ACCORDION
============================== */
.faq-item {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
}

.faq-question {
  padding: 18px 20px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--green-dark);
  font-size: 1rem;
}

.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--green-mid);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 10px;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  color: var(--text-mid);
  font-size: 0.97rem;
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==============================
   INCOME GRID
============================== */
.income-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.income-card {
  background: linear-gradient(135deg, var(--green-darkest), var(--green-mid));
  color: #fff;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
}

.income-card .num {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.income-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.income-card p {
  font-size: 0.88rem;
  opacity: 0.9;
}

/* ==============================
   CONTACT INFO
============================== */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 30px 0;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.contact-info-item .ci-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 4px;
}

.contact-info-item p,
.contact-info-item a {
  color: var(--text-mid);
  font-size: 0.95rem;
}

/* ==============================
   WARNING BOX
============================== */
.warning-box {
  background: #fff3e0;
  border-left: 4px solid #ff9800;
  border-radius: 8px;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 0.92rem;
  color: #555;
}

.warning-box strong {
  color: #e65100;
}

/* ==============================
   STEPS LIST
============================== */
.steps-list {
  counter-reset: step-counter;
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.steps-list li {
  counter-increment: step-counter;
  padding: 14px 14px 14px 56px;
  position: relative;
  margin-bottom: 12px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--green-dark);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ==============================
   PAGE BANNER
============================== */
.page-banner {
  background: linear-gradient(135deg, var(--green-darkest), var(--green-mid));
  color: #fff;
  padding: 50px 20px;
  text-align: center;
}

.page-banner h1 {
  font-size: 2rem;
  font-weight: 800;
}

.page-banner p {
  margin-top: 10px;
  font-size: 1.05rem;
  opacity: 0.9;
}

/* ==============================
   ABOUT SECTION
============================== */
.about-highlight {
  background: linear-gradient(135deg, var(--green-pale), #f1f8e9);
  border-radius: 16px;
  padding: 40px;
  margin: 30px 0;
}

.about-highlight h2 {
  color: var(--green-dark);
  font-size: 1.5rem;
  margin-bottom: 14px;
}

/* ==============================
   QUOTATION SECTION
============================== */
.quotation-box {
  background: linear-gradient(135deg, var(--green-pale), #c8e6c9);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  margin: 30px 0;
}

.quotation-box h2 {
  font-size: 1.6rem;
  color: var(--green-dark);
  margin-bottom: 14px;
}

.quotation-box p {
  color: var(--text-mid);
  margin-bottom: 24px;
}

/* ==============================
   BENEFIT LIST
============================== */
.benefit-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.benefit-list li {
  padding: 10px 0 10px 36px;
  position: relative;
  border-bottom: 1px dashed #e0e0e0;
  font-size: 1rem;
}

.benefit-list li::before {
  content: "✅";
  position: absolute;
  left: 0;
  top: 10px;
}

/* ==============================
   FOOTER
============================== */
.site-footer {
  background: var(--green-darkest);
  color: #fff;
  padding: 40px 20px 20px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--green-border);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-col p {
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  line-height: 1.8;
}

.footer-col a {
  color: rgba(255,255,255,0.8);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 16px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.social-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  text-decoration: none;
  background: rgba(255,255,255,0.1);
  padding: 6px 12px;
  border-radius: 20px;
  transition: background 0.2s;
}

.social-links a:hover {
  background: rgba(255,255,255,0.25);
  text-decoration: none;
}

/* ==============================
   MOBILE RESPONSIVE (max-width: 768px)
============================== */
@media (max-width: 768px) {

  /* Base */
  html { font-size: 15px; }

  body { overflow-x: hidden; }

  /* Site main padding */
  .site-main {
    padding: 30px 16px;
  }

  /* Section titles */
  .section-title {
    font-size: 1.4rem;
  }

  /* Buttons */
  .btn-primary, .btn-green, .btn-secondary {
    padding: 12px 20px;
    font-size: 0.95rem;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  /* Hero */
  .hero-section {
    padding: 0 12px;
  }

  .hero-banner-img {
    max-height: 220px;
  }

  /* Income grid — 2 columns on mobile */
  .income-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .income-card {
    padding: 18px 12px;
  }

  .income-card .num {
    font-size: 1.8rem;
  }

  /* Feature grid — 1 column on mobile */
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Cards */
  .card {
    padding: 20px 16px;
  }

  /* About highlight */
  .about-highlight {
    padding: 24px 16px;
  }

  /* Agent intro */
  .agent-intro-section {
    grid-template-columns: 1fr !important;
    gap: 24px;
    padding: 30px 16px;
  }

  .agent-photo-col,
  .agent-text-col {
    min-width: 0;
    width: 100%;
  }

  .agent-real-photo {
    max-width: 200px;
  }

  /* Benefits & Awards */
  .benefits-awards-section {
    grid-template-columns: 1fr !important;
    gap: 24px;
    padding: 30px 16px;
  }

  /* Split section */
  .split-section {
    grid-template-columns: 1fr !important;
    padding-left: 0;
    min-height: auto;
  }

  /* Override inline-style grid sections (page-about.php etc.) */
  section[style*="grid-template-columns"],
  div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  .split-green, .split-white {
    padding: 30px 20px;
  }

  .quote-heading {
    font-size: 1.6rem;
  }

  /* Story section */
  .story-section {
    padding: 24px 16px;
  }

  .story-inner {
    grid-template-columns: 1fr;
  }

  .story-text-cols {
    grid-template-columns: 1fr;
  }

  /* Videos section */
  .videos-section {
    grid-template-columns: 1fr;
    padding: 20px 16px;
  }

  /* Contact info */
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  /* Footer grid */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* FAQ */
  .faq-question {
    font-size: 0.95rem;
    padding: 14px 16px;
  }

  /* FAQ new style (page-faq.php inline) */
  .faq-new-item {
    padding: 0 12px !important;
  }

  /* Social icons */
  .social-icons-row {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .social-icon-btn {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }

  /* Announcement bar */
  .announcement-bar {
    font-size: 0.82rem;
    padding: 8px 12px;
  }

  /* Two-col flex layouts used in page-contact.php etc */
  div[style*="display:flex"] {
    flex-direction: column !important;
  }

  /* Override: keep social icon rows horizontal */
  .social-icons-row {
    flex-direction: row !important;
  }

  /* Quotation buttons grid */
  div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  /* Images full width */
  div[style*="max-width:1100px"] img,
  div[style*="max-width: 1100px"] img {
    border-radius: 6px;
  }

  /* Video max-width */
  div[style*="max-width:700px"] {
    max-width: 100% !important;
    padding: 0 12px !important;
  }

  /* Claim table scroll on mobile */
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Extra small screens */
@media (max-width: 400px) {
  .income-grid {
    grid-template-columns: 1fr;
  }

  .btn-primary, .btn-green {
    font-size: 0.88rem;
    padding: 11px 16px;
  }

  .section-title {
    font-size: 1.2rem;
  }
}
