/* ============================================
   TSI SENIOR CARE HOME — STYLESHEET (cleaned)
   ============================================ */

:root{
  --navy: #0F2A52;
  --navy-deep: #0B2142;
  --blue: #1B5FCF;
  --blue-dark: #144DAA;
  --sky: #EAF2FC;
  --sky-soft: #F5F9FE;
  --ink: #16233E;
  --slate: #5C6B84;
  --line: #E3EAF4;
  --white: #FFFFFF;
  --gold: #F5B942;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 18px rgba(15,42,82,0.06);
  --shadow-md: 0 14px 40px rgba(15,42,82,0.10);
  --font-display: 'Lora', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3{ font-family: var(--font-display); color: var(--navy); margin: 0; }
p{ margin: 0; }
button{ font-family: inherit; cursor: pointer; }
:focus-visible{ outline: 3px solid var(--blue); outline-offset: 3px; }

.container{
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn-primary{
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(27,95,207,0.28);
}
.btn-primary:hover{ background: var(--blue-dark); transform: translateY(-2px); }
.btn-outline{
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover{ background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-outline:hover svg path{ stroke: var(--white); }
.btn-block{ width: 100%; justify-content: center; }
.btn-header{ padding: 12px 22px; }

/* ---------- Section heading ---------- */
.section-heading{ text-align: center; max-width: 640px; margin: 0 auto 48px; }
.eyebrow{
  display: inline-block;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
  position: relative;
  padding: 0 18px;
}
.eyebrow::before, .eyebrow::after{
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 1px;
  background: var(--blue);
}
.eyebrow::before{ left: -6px; }
.eyebrow::after{ right: -6px; }
.section-heading h2{ font-size: 2.1rem; font-weight: 700; margin-bottom: 10px; }
.section-heading p{ color: var(--slate); font-size: 1rem; }

/* ============ HEADER ============ */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}
.logo{ display: flex; align-items: center; gap: 10px; }
.logo-icon{ display: inline-flex; flex-shrink: 0; }
.logo-img{
  height: 60px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

@media (max-width: 860px){
  .logo-img{ height: 50px; }
}
@media (max-width: 520px){
  .logo-img{ height: 42px; }
}

.main-nav{ display: flex; align-items: center; gap: 36px; }
.main-nav a{
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.main-nav a:hover, .main-nav a.active{ color: var(--blue); border-color: var(--blue); }

.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span{ width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ---------- Header social icons ---------- */
.header-socials{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.header-socials a{
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.header-socials a:hover{
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============ HERO ============ */
.hero{
  position: relative;
  background: linear-gradient(180deg, #F7FAFE 0%, #FFFFFF 60%);
  overflow: hidden;
  padding-top: 64px;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.hero-copy h1{
  font-size: 2.9rem;
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.hero-copy h1 span{ color: var(--blue); }
.hero-copy > p{
  color: var(--slate);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 30px;
}
.hero-actions{ display: flex; gap: 16px; margin-bottom: 46px; flex-wrap: wrap; }

.hero-features{
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 26px;
}
.hero-features li{ display: flex; align-items: flex-start; gap: 10px; }
.hero-features li svg{ flex-shrink: 0; margin-top: 2px; }
.hero-features strong{ display: block; font-size: 0.88rem; color: var(--navy); font-weight: 700; }
.hero-features span{ display: block; font-size: 0.76rem; color: var(--slate); margin-top: 2px; line-height: 1.35; }

.hero-media{ position: relative; }
.hero-media-shape{
  position: relative;
  border-radius: 32px 32px 200px 32px;
  overflow: hidden;
  aspect-ratio: 4 / 3.1;
  box-shadow: var(--shadow-md);
}
.hero-media-shape img{ width: 100%; height: 100%; object-fit: cover; }

.hero-wave{
  height: 90px;
  margin-top: -40px;
  background:
    radial-gradient(120% 100% at 15% 100%, var(--sky) 0%, var(--sky) 45%, transparent 46%),
    linear-gradient(180deg, transparent 0%, var(--sky-soft) 100%);
}

/* ============ SERVICES ============ */
.services{ padding: 96px 0 100px; background: var(--white); }
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--sky);
  margin-bottom: 18px;
}
.service-card h3{ font-size: 1.08rem; font-weight: 700; margin-bottom: 10px; }
.service-card p{ color: var(--slate); font-size: 0.88rem; margin-bottom: 18px; min-height: 66px; }
.read-more{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--blue);
  border: 1.5px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  transition: background-color .15s ease, border-color .15s ease;
}
.read-more:hover{ background: var(--sky); border-color: var(--sky); }

.service-card .service-image{
  width: 100%;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--sky);
}
.service-card .service-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============ POSTERS (scrollable) ============ */
.posters{ padding: 96px 0 100px; background: var(--sky-soft); }

.posters-scroll-wrap{
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
}

.posters-grid{
  display: flex;
  gap: 24px;
  flex: 1;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--blue) transparent;
}
.posters-grid::-webkit-scrollbar{ height: 6px; }
.posters-grid::-webkit-scrollbar-track{ background: transparent; }
.posters-grid::-webkit-scrollbar-thumb{
  background: #C7D6EC;
  border-radius: 999px;
}
.posters-grid::-webkit-scrollbar-thumb:hover{ background: var(--blue); }

.poster-card{
  margin: 0;
  flex: 0 0 auto;
  width: min(320px, 74vw);
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--white);
  padding: 8px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.poster-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.poster-card img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius-lg) - 6px);
}

.poster-prev, .poster-next{
  flex-shrink: 0;
}

.posters-dots{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.posters-dots .dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: #C7D6EC; cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.posters-dots .dot.active{ background: var(--blue); transform: scale(1.2); }

@media (max-width: 640px){
  .poster-prev, .poster-next{ display: none; }
}

/* ============ ABOUT (Family Care) ============ */
.about{ padding: 96px 0 100px; background: var(--white); }

.about-heading .about-tagline{
  color: var(--blue);
  font-weight: 600;
  font-size: 1.05rem;
}

.about-grid-alt{
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
  align-items: start;
}

.about-description{
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 28px;
}
.about-description p{ margin: 0 0 16px; }
.about-description strong{ color: var(--ink); }

.check-list{ margin-bottom: 0; }
.check-list li{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
}
.check-list li::before{
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 13l4 4L19 7' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

.about-right-card{
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.why-choose-box{
  background: var(--sky-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.why-choose-box h3{
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.why-choose-box > p{
  color: var(--slate);
  font-size: 0.92rem;
  margin-bottom: 26px;
  line-height: 1.7;
}

.wc-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 26px;
}
.wc-item{ display: flex; align-items: flex-start; gap: 12px; }
.wc-icon-wrap{
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.wc-item h4{
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 4px;
}
.wc-item p{
  font-size: 0.82rem;
  color: var(--slate);
  line-height: 1.55;
  margin: 0;
}

.wc-points{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.wc-points li{
  position: relative;
  padding-left: 22px;
  font-size: 0.88rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
}
.wc-points li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.about-image-frame{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
}
.about-image-frame img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-overlay-text{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 24px;
  background: linear-gradient(180deg, rgba(11,33,66,0) 0%, rgba(11,33,66,0.75) 85%);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}

@media (max-width: 1080px){
  .about-grid-alt{ grid-template-columns: 1fr; }
}
@media (max-width: 640px){
  .wc-grid{ grid-template-columns: 1fr; }
  .why-choose-box{ padding: 24px; }
}

/* ============ TESTIMONIALS ============ */
.testimonials{
  padding: 100px 0;
  background: var(--sky-soft);
  position: relative;
}
.testimonial-slider{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  max-width: 780px;
  margin: 0 auto;
}
.slider-arrow{
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .15s ease, transform .15s ease;
}
.slider-arrow:hover{ background: var(--sky); transform: scale(1.06); }

.testimonial-card{
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-md);
  position: relative;
  flex: 1;
}
.quote-mark{
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: var(--blue);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.testimonial-card p{
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 22px;
  line-height: 1.65;
}
.testimonial-avatar{
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
}
.testimonial-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.avatar-fallback{
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--sky);
  align-items: center;
  justify-content: center;
}
.testimonial-author{ display: flex; align-items: center; gap: 12px; }
.testimonial-author img{
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
}
.testimonial-author strong{ display: block; font-size: 0.95rem; color: var(--navy); }
.testimonial-author span{ display: block; font-size: 0.82rem; color: var(--slate); }

.slider-dots{ display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: #C7D6EC; cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.dot.active{ background: var(--blue); transform: scale(1.2); }

/* ============ CONTACT ============ */
.contact{ padding: 100px 0; background: var(--white); }
.contact-grid{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2{ font-size: 2rem; font-weight: 700; margin: 10px 0 14px; }
.contact-info > p{ color: var(--slate); margin-bottom: 26px; max-width: 380px; }
.contact-list{ display: flex; flex-direction: column; gap: 16px; }
.contact-list li{ display: flex; align-items: center; gap: 14px; font-weight: 500; color: var(--ink); }
.contact-icon{
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
}

.contact-form{
  background: var(--sky-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-form input,
.contact-form textarea,
.contact-form select{
  display: block;
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  background-color: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--ink);
}
.contact-form textarea{ resize: vertical; min-height: 120px; }

/* ---- Custom select (higher specificity so nothing can override it) ---- */
.contact .contact-form select#contactService{
  display: block;
  width: 100%;
  height: 50px;
  min-height: 50px;
  padding: 0 44px 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m6 9 6 6 6-6' stroke='%235C6B84' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
/* grey text while the placeholder option is selected */
.contact .contact-form select#contactService:has(option[value=""]:checked){ color: #757575; }
.contact .contact-form select#contactService option{ color: var(--ink); }

.contact-form input::placeholder,
.contact-form textarea::placeholder{ color: #757575; }

.contact-form input:focus,
.contact-form textarea:focus,
.contact .contact-form select#contactService:focus{
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,95,207,0.12);
}

.form-note{ font-size: 0.85rem; color: var(--blue); min-height: 1.2em; }
.form-note.is-error{ color: #C62828; }

/* ============ FOOTER ============ */
.site-footer{ background: var(--navy-deep); color: #C7D3E8; }
.footer-grid{
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr 1.3fr;
  gap: 40px;
  padding: 72px 0 44px;
}

.footer-logo-img{
  height: 46px;
  width: auto;
  background: var(--white);
  border-radius: 6px;
  padding: 4px 8px;
  margin-bottom: 18px;
}
.footer-title{
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 14px;
}
.footer-tagline{
  font-size: 0.9rem;
  color: #A9B7D2;
  line-height: 1.7;
  max-width: 260px;
}

.footer-links h4, .footer-contact h4{
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.footer-links{ display: flex; flex-direction: column; }
.footer-links a{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  padding: 10px 0;
  color: #C7D3E8;
  transition: color .15s ease;
}
.footer-links a:hover{ color: var(--white); }
.link-heart{ flex-shrink: 0; color: var(--gold); }

.footer-contact-list{ display: flex; flex-direction: column; gap: 20px; margin-top: 4px; margin-bottom: 26px; }
.footer-contact-list li{ display: flex; align-items: flex-start; gap: 12px; }
.fc-icon{
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.footer-contact-list li span:last-child{ font-size: 0.86rem; color: #C7D3E8; line-height: 1.6; }

.socials{ display: flex; gap: 10px; }
.socials a{
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background-color .15s ease;
}
.socials a:hover{ background: var(--gold); }

.footer-bottom{ border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 0.85rem;
  color: #8494B3;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-legal{ display: flex; align-items: center; gap: 6px; }
.fb-heart{ color: var(--gold); }
.footer-legal a{ color: var(--gold); font-weight: 600; }
.footer-legal a:hover{ color: var(--white); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px){
  .main-nav{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    display: none;
  }
  .main-nav.open{ display: flex; }
  .main-nav a{ width: 100%; padding: 10px 0; border-bottom: none; }
  .nav-toggle{ display: flex; }
  .btn-header{ display: none; }

  .header-socials{
    margin-left: auto;
    padding-left: 0;
    border-left: none;
    gap: 6px;
  }
  .header-socials a{ width: 34px; height: 34px; }

  .hero-grid{ grid-template-columns: 1fr; }
  .hero-media{ order: -1; }
  .hero-copy h1{ font-size: 2.2rem; }
  .hero-features{ grid-template-columns: repeat(2, 1fr); }

  .services-grid{ grid-template-columns: repeat(2, 1fr); }
  .contact-grid{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
}

@media (max-width: 640px){
  .footer-grid{ grid-template-columns: 1fr; padding: 56px 0 32px; }
  .footer-bottom-inner{ flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px){
  .container{ padding: 0 18px; }
  .hero-copy h1{ font-size: 1.85rem; }
  .services-grid{ grid-template-columns: 1fr; }
  .hero-features{ grid-template-columns: 1fr 1fr; gap: 18px; }
  .testimonial-card{ padding: 28px 22px; }
  .testimonial-slider{ gap: 10px; }
  .slider-arrow{ width: 38px; height: 38px; }
}