@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-v18-latin-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-v18-latin-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-v18-latin-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/inter-v18-latin-800.woff2') format('woff2');
}

:root {
  --brand: #079bc1;
  --brand-dark: #087598;
  --brand-deep: #123b58;
  --brand-light: #8ce3ef;
  --brand-highlight: #9de9f6;
  --brand-soft: #eff9fc;
  --ink: #173244;
  --muted: #607381;
  --pale: #eef8fb;
  --pale-2: #f7fbfc;
  --white: #ffffff;
  --line: #dce9ee;
  --shadow: 0 20px 50px rgba(21, 71, 93, 0.12);
  --radius: 24px;
  --font-size-hero: clamp(2.25rem, 5vw, 4.65rem);
  --font-size-h2: clamp(2rem, 4vw, 3.35rem);
  --spacing-section: clamp(60px, 8vw, 105px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section-pad { padding: 105px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(220,233,238,.75);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 168px; height: 62px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; gap: 26px; font-size: .94rem; font-weight: 650; }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: var(--brand); }
.login-link { padding: 11px 20px; color: var(--white)!important; background: var(--brand-deep); border-radius: 999px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 5px; }

.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #eff9fc 0%, #ffffff 60%); }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; left: -360px; top: -290px; background: rgba(0,155,193,.1); border-radius: 50%; }
.hero-grid { min-height: 610px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 72px; }
.eyebrow { display: inline-block; color: var(--brand-dark); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero h1, .section-heading h2, .values-copy h2, .homecare h2, .contact h2 { margin: 12px 0 22px; font-size: clamp(2.25rem, 5vw, 4.65rem); line-height: 1.04; letter-spacing: -.045em; }
.hero p { max-width: 710px; margin: 0 0 34px; color: var(--muted); font-size: 1.15rem; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 25px; color: var(--white); background: linear-gradient(135deg, var(--brand), var(--brand-dark)); border: 0; border-radius: 999px; font-weight: 750; box-shadow: 0 13px 28px rgba(7, 155, 193, .24); cursor: pointer; }
.hero-image { position: relative; justify-self: end; width: min(440px, 100%); padding: 26px; }
.hero-image img { position: relative; z-index: 2; width: 100%; aspect-ratio: .92; object-fit: cover; border-radius: 48% 48% 32% 32% / 40% 40% 28% 28%; box-shadow: var(--shadow); }
.hero-shape { position: absolute; border-radius: 50%; }
.hero-shape-one { width: 250px; height: 250px; right: -35px; top: 0; background: rgba(7,155,193,.14); }
.hero-shape-two { width: 185px; height: 185px; left: -12px; bottom: 5px; background: rgba(18,59,88,.08); }

.about { background: var(--white); }
.section-heading { max-width: 900px; margin-bottom: 52px; }
.section-heading.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading h2, .values-copy h2, .homecare h2, .contact h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
.section-heading p { color: var(--muted); font-size: 1.06rem; }
.mission-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.info-card { position: relative; min-height: 250px; padding: 38px; overflow: hidden; background: var(--pale-2); border: 1px solid var(--line); border-radius: var(--radius); }
.card-number { position: absolute; right: 25px; top: 10px; color: rgba(7,155,193,.08); font-size: 5.8rem; font-weight: 900; line-height: 1; }
.info-card h3 { position: relative; margin: 0 0 16px; font-size: 1.55rem; }
.info-card p { position: relative; margin: 0; color: var(--muted); }
.quality-card { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 28px; margin-top: 24px; padding: 34px 38px; color: var(--white); background: linear-gradient(135deg, var(--brand-deep), var(--brand-dark)); border-radius: var(--radius); box-shadow: var(--shadow); }
.quality-card .eyebrow { color: #9de9f6; }
.quality-card h3 { margin: 6px 0 7px; font-size: clamp(1.35rem, 3vw, 2.1rem); line-height: 1.2; }
.quality-card p { margin: 0; color: rgba(255,255,255,.79); }
.quality-mark { display: flex; align-items: center; justify-content: center; }
.quality-mark svg { width: 76px; height: 76px; overflow: visible; fill: none; stroke: #8ce3ef; stroke-width: 2.5; flex-shrink: 0; }
.quality-mark .check { stroke: var(--white); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.values-wrap { display: grid; grid-template-columns: .9fr 1.1fr; align-items: stretch; gap: 76px; margin-top: 98px; }
.about-photo { position: relative; display: flex; height: 100%; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; box-shadow: var(--shadow); }
.photo-caption { position: absolute; left: 28px; right: 28px; bottom: 26px; padding: 19px 23px; color: var(--white); background: rgba(18,59,88,.88); border-radius: 16px; backdrop-filter: blur(9px); }
.photo-caption strong, .photo-caption span { display: block; }
.photo-caption span { color: rgba(255,255,255,.72); font-size: .9rem; }
.value-item { padding: 20px 0; border-top: 1px solid var(--line); }
.value-item h3 { margin: 0 0 5px; font-size: 1.2rem; }
.value-item p { margin: 0; color: var(--muted); }

.services { background: var(--pale); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { padding: 31px; background: var(--white); border: 1px solid rgba(220,233,238,.9); border-radius: 22px; box-shadow: 0 14px 36px rgba(21,71,93,.06); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 23px; color: var(--brand); background: rgba(7,155,193,.1); border-radius: 17px; }
.service-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 0 0 11px; font-size: 1.25rem; line-height: 1.25; }
.service-card p { margin: 0; color: var(--muted); }

.homecare { background: var(--white); }
.homecare-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: stretch; gap: 72px; }
.homecare-copy > p { color: var(--muted); }
.homecare-highlight { margin-top: 32px; padding: 29px; background: var(--pale); border-left: 5px solid var(--brand); border-radius: 0 18px 18px 0; }
.homecare-highlight h3 { margin: 0 0 14px; font-size: 1.35rem; }
.homecare-highlight p { margin: 9px 0 0; color: var(--muted); }
.homecare-image { display: flex; height: 100%; }
.homecare-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; box-shadow: var(--shadow); }

.clients { background: var(--pale-2); }
.clients-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 17px; }
.client-card { flex: 1 1 calc(25% - 17px); min-width: 220px; max-width: 280px; min-height: 118px; display: grid; place-items: center; padding: 22px; color: var(--brand-deep); background: var(--white); border: 1px solid var(--line); border-radius: 18px; font-size: 1.08rem; font-weight: 800; text-align: center; box-shadow: 0 10px 26px rgba(21,71,93,.045); }

.contact { background: linear-gradient(135deg, var(--brand-deep), #0a6681); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 78px; }
.contact .eyebrow { color: #95e4ef; }
.contact-copy p { color: rgba(255,255,255,.76); font-size: 1.07rem; }
.contact-details { display: grid; gap: 8px; margin-top: 27px; font-weight: 700; }
.contact-details a:hover { color: #a5f1fa; }
.contact-form { display: grid; gap: 18px; padding: 35px; color: var(--ink); background: var(--white); border-radius: 25px; box-shadow: 0 25px 65px rgba(0,0,0,.2); }
.field-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.contact-form label { display: grid; gap: 7px; font-size: .86rem; font-weight: 750; }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px 15px; color: var(--ink); background: var(--pale-2); border: 1px solid var(--line); border-radius: 12px; outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(7,155,193,.1); }
.contact-form .primary-button { justify-self: start; }

.site-footer { padding: 58px 0 20px; color: rgba(255,255,255,.72); background: #0d2739; }
.footer-grid { display: grid; grid-template-columns: .55fr 1fr 1.45fr; gap: 45px; align-items: start; }
.footer-brand img { width: 190px; height: 80px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); opacity: .92; }
.footer-contact p { margin: 5px 0; }
.footer-contact strong { color: var(--white); }
.footer-contact a { transition: color .2s ease; }
.footer-contact a:hover { color: #8de2ee; }
.footer-quality-title { margin: 0 0 14px; color: var(--white); font-size: 1rem; font-weight: 800; letter-spacing: .02em; }
.footer-quality-actions { display: flex; align-items: stretch; gap: 12px; }
.footer-certifications { display: flex; gap: 9px; }
.certification-link { width: 92px; min-height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 10px 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; text-align: center; transition: transform .2s ease, background-color .2s ease, border-color .2s ease; }
.certification-link img { width: 54px; height: 54px; object-fit: contain; }
.certification-link span { color: rgba(255,255,255,.78); font-size: .68rem; font-weight: 700; line-height: 1.15; }
.quality-policy-button { min-width: 142px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 16px; color: var(--white); background: linear-gradient(135deg, var(--brand), var(--brand-dark)); border-radius: 14px; font-size: .82rem; font-weight: 750; line-height: 1.25; text-align: left; box-shadow: 0 10px 24px rgba(0,0,0,.16); transition: transform .2s ease, box-shadow .2s ease; }
.quality-policy-button svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.certification-link:hover, .certification-link:focus-visible { transform: translateY(-3px); background: rgba(255,255,255,.11); border-color: rgba(141,226,238,.65); }
.quality-policy-button:hover, .quality-policy-button:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.24); }
.certification-link:focus-visible, .quality-policy-button:focus-visible { outline: 3px solid #8de2ee; outline-offset: 3px; }
.footer-quality-standard { margin: 12px 0 0; color: rgba(255,255,255,.52); font-size: .73rem; font-weight: 650; letter-spacing: .04em; }
.copyright { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .86rem; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .main-nav { position: absolute; left: 20px; right: 20px; top: 76px; display: none; padding: 22px; flex-direction: column; align-items: stretch; gap: 15px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav .login-link { text-align: center; }
  .hero { padding-bottom: 30px; }
  .about { padding-top: 40px; }
  .hero-grid, .values-wrap, .homecare-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 30px; min-height: auto; }
  .hero-image { justify-self: center; max-width: 430px; padding: 26px 26px 10px 26px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .values-wrap, .homecare-grid, .contact-grid { gap: 45px; }
  .about-photo, .homecare-image { height: 360px; }
  .footer-grid { grid-template-columns: .65fr 1fr; }
  .footer-quality { grid-column: 1 / -1; padding-top: 8px; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1180px); }
  .section-pad { padding: 74px 0; }
  .hero { padding-bottom: 20px; }
  .about { padding-top: 30px; }
  .hero-image { padding: 26px 26px 0 26px; }
  .brand img { width: 145px; }
  .hero h1 { font-size: 2.55rem; }
  .mission-grid, .services-grid, .field-row { grid-template-columns: 1fr; }
  .info-card, .service-card, .quality-card, .contact-form { padding: 26px; }
  .quality-card { grid-template-columns: 1fr; }
  .quality-mark svg { width: 62px; }
  .about-photo, .homecare-image { height: 260px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-quality { grid-column: auto; padding-top: 4px; }
}

@media (max-width: 430px) {
  .footer-quality-actions { flex-direction: column; }
  .footer-certifications { width: 100%; }
  .certification-link { flex: 1; width: auto; }
  .quality-policy-button { min-height: 54px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   MAINTENANCE PAGE STYLING
   ========================================================================== */
.maint-body {
  margin: 0;
  padding: 20px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-deep), #0a6681);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
}

.maint-card {
  background: var(--white);
  padding: 48px 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 480px;
  width: 100%;
  text-align: center;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: maintFadeIn 0.6s ease-out forwards;
}

@keyframes maintFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.maint-logo {
  width: 190px;
  height: auto;
  margin-bottom: 24px;
}

.maint-divider {
  width: 60px;
  height: 3px;
  background: var(--brand);
  border: none;
  border-radius: 99px;
  margin: 16px 0 24px;
}

.maint-card h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: var(--brand-deep);
  margin: 0 0 12px;
  letter-spacing: -.03em;
  line-height: 1.15;
}

.maint-card p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 32px;
}

.maint-card .primary-button {
  text-decoration: none;
  min-width: 160px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.maint-card .primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(7, 155, 193, .35);
}

@media (max-width: 480px) {
  .maint-card {
    padding: 36px 24px;
  }
}

/* AJAX Form Alert Styling */
.form-alert {
  margin-top: 16px;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-alert.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.form-alert.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-alert.alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

