/* Tamam Care — front page (2026-11-23)
   The sections are core blocks (Cover, Group, Heading, Paragraph, Image, Buttons, Details) edited in the
   page editor; these rules only style them by their CSS classes (tc-*). Loaded on the front page only. */

.home {
  --tc-navy: #0b3443;
  --tc-petrol: #0f4c63;
  --tc-deep: #0d3a4a;
  --tc-sky: #66c0ed;
  --tc-ink: #123b4a;
  --tc-muted: #4f6a75;
  --tc-line: #d9e7ec;
  --tc-tint: #f2f7f9;
  --tc-plex: 'IBM Plex Sans Arabic', Lama, 'Segoe UI', Tahoma, sans-serif;
  padding-bottom: 0 !important;  /* no fixed bottom bar on the front page */
  background: #fff;
}

/* ---------- Header: transparent over the hero, white after scrolling ---------- */
.site-header.is-overlay { position: fixed; inset-inline: 0; top: 0; background: transparent; border-bottom-color: rgba(255, 255, 255, .2); transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease; }
.admin-bar .site-header.is-overlay { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header.is-overlay { top: 46px; } }
.site-header.is-overlay.is-scrolled, .site-header.is-overlay[data-menu-open] { background: #fff; border-bottom-color: #e6eef1; box-shadow: 0 6px 18px rgba(15, 76, 99, .08); }
.site-header .brand { position: relative; }
.site-header .brand-white { display: none; }
.site-header.is-overlay:not(.is-scrolled):not([data-menu-open]) .brand-color { visibility: hidden; }
.site-header.is-overlay:not(.is-scrolled):not([data-menu-open]) .brand-white { display: block; position: absolute; inset: 0; }
.head-quote {
  order: 2; display: inline-flex; align-items: center; justify-content: center; flex: none;
  min-height: 44px; padding: 0 20px; border-radius: 10px; background: var(--brand); color: #fff;
  font-family: var(--tc-plex); font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap;
}
.head-quote:hover, .head-quote:focus-visible { background: var(--brand-deep); color: #fff; }
.site-header.is-overlay .primary-nav { order: 1; }
@media (min-width: 901px) {
  .site-header.is-overlay:not(.is-scrolled) .primary-nav a { color: #fff; }
  .site-header.is-overlay:not(.is-scrolled) .primary-nav a[aria-current="page"]::after { background: var(--tc-sky); }
}
@media (max-width: 900px) {
  .head-quote { order: 0; margin-inline-start: auto; min-height: 40px; padding: 0 16px; font-size: 14px; }
  .site-header.is-overlay .menu-toggle { margin-inline-start: auto; }
  .site-header.is-overlay:not(.is-scrolled):not([data-menu-open]) .menu-toggle { background: transparent; border-color: rgba(255, 255, 255, .6); }
  .site-header.is-overlay:not(.is-scrolled):not([data-menu-open]) .menu-icon i { background: #fff; }
}
@media (max-width: 360px) { .site-header .brand img { width: 118px; } .head-quote { padding: 0 12px; font-size: 13px; } }

/* ---------- Shared section frame ---------- */
.site-main > .tc-sec { width: 100%; max-width: none; margin: 0; padding: clamp(56px, 8vw, 96px) var(--gutter); background: #fff; }
/* Classic themes wrap Group content in .wp-block-group__inner-container; let it pass layout through. */
.site-main > .tc-sec .wp-block-group__inner-container { display: contents; }
.tc-sec > .wp-block-group__inner-container > * { max-width: var(--container); margin-inline: auto; }
.tc-sec :is(p, h2, h3, figure) { margin-block: 0; }
.tc-sec .tc-title { margin: 0 auto; color: var(--tc-ink); font-family: Lama, var(--tc-plex); font-weight: 700; font-size: clamp(26px, 5.4vw, 40px); line-height: 1.5; text-align: center; text-wrap: balance; }
.tc-sec .tc-lead { max-width: 36em; margin: 14px auto 0; color: var(--tc-muted); font-size: clamp(16px, 2vw, 18px); line-height: 1.85; text-align: center; }
.tc-badge { display: table; margin: 0 auto 18px !important; padding: 4px 16px; border: 1px solid #cfdde2; border-radius: 999px; background: #fff; color: var(--tc-ink); font-size: 14px; font-weight: 500; line-height: 1.7; }
/* Section label: one plain, centred style for every home section (no side lines, no pill, no marker). */
.tc-sec .tc-eyebrow { display: block; max-width: none; margin: 0 auto 12px !important; padding: 0; border: 0; background: none; color: var(--brand); font-family: var(--tc-plex); font-size: 16px; font-weight: 600; line-height: 1.6; letter-spacing: 0; text-align: center; }
.tc-sec .tc-eyebrow::before, .tc-sec .tc-eyebrow::after { content: none; display: none; }
.tc-how > .tc-eyebrow { margin-bottom: clamp(18px, 3vw, 28px) !important; }
/* «من نحن»: label sits above its heading; centred on phones/tablets, right-aligned with the heading and text when side by side. */
@media (min-width: 900px) { .tc-about .tc-about-text .tc-eyebrow { margin: 0 0 10px !important; text-align: start; } }

/* ---------- 1. Hero (Cover block) ---------- */
.site-main > .tc-hero { width: 100%; max-width: none; margin: 0; padding: calc(var(--header-h) + 40px) var(--gutter) clamp(64px, 9vw, 96px); align-items: center; }
.tc-hero .wp-block-cover__image-background { object-position: 30% 40%; }
.tc-hero .wp-block-cover__inner-container { position: relative; width: 100%; max-width: 760px; margin-inline: auto; color: #fff; text-align: center; }
.tc-hero .wp-block-cover__inner-container::before {
  /* Brand sparkles, decorative only */
  content: ''; position: absolute; inset: -60px -40px; z-index: -1; pointer-events: none; opacity: .45;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23fff' d='M50 0C53 36 64 47 100 50 64 53 53 64 50 100 47 64 36 53 0 50 36 47 47 36 50 0z'/%3E%3C/svg%3E") 4% 18% / 44px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23fff' d='M50 0C53 36 64 47 100 50 64 53 53 64 50 100 47 64 36 53 0 50 36 47 47 36 50 0z'/%3E%3C/svg%3E") 96% 62% / 60px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23fff' d='M50 0C53 36 64 47 100 50 64 53 53 64 50 100 47 64 36 53 0 50 36 47 47 36 50 0z'/%3E%3C/svg%3E") 88% 96% / 22px no-repeat;
}
.tc-hero .tc-hero-title { margin: 0 auto; color: #fff; font-family: var(--tc-plex); font-weight: 600; font-size: clamp(31px, 7.6vw, 52px); line-height: 1.5; letter-spacing: 0; text-wrap: balance; text-shadow: 0 2px 20px rgba(5, 28, 38, .45); }
.tc-hero .tc-hero-text { max-width: 34em; margin: 18px auto 0; color: rgba(255, 255, 255, .94); font-family: var(--tc-plex); font-size: clamp(16px, 2.2vw, 19px); line-height: 1.85; text-shadow: 0 1px 12px rgba(5, 28, 38, .5); }
.tc-hero .tc-hero-actions { justify-content: center; margin-top: 32px; }
/* Soft local shade behind the text only, so the overlay above stays light and the worker/logo stay visible. */
.tc-hero .wp-block-cover__inner-container::after { content: ''; position: absolute; inset: -70px -120px; z-index: -2; pointer-events: none; background: radial-gradient(closest-side, rgba(7, 36, 48, .42), rgba(7, 36, 48, 0)); }
/* «احجز الآن»: rectangular outline button with the sky-blue slanted arrow block (as in the sample). */
.tc-btn-book .wp-block-button__link {
  display: inline-flex; align-items: center; column-gap: 30px; min-height: 60px; padding: 0 36px 0 0; padding-inline: 36px 0;
  border: 1px solid rgba(255, 255, 255, .75); border-radius: 0; background: rgba(11, 52, 67, .25);
  color: #fff; font-family: var(--tc-plex); font-size: 19px; font-weight: 600; line-height: 1; text-decoration: none;
}
.tc-btn-book .wp-block-button__link::before { content: ''; order: 2; align-self: stretch; width: 70px; margin-inline-start: -4px; clip-path: polygon(0 0, 100% 0, 100% 100%, 26% 100%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b3443' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5m0 0 6 6m-6-6 6-6'/%3E%3C/svg%3E") 58% 50% / 24px no-repeat, var(--tc-sky); }
.tc-btn-book .wp-block-button__link:hover, .tc-btn-book .wp-block-button__link:focus-visible { background: rgba(255, 255, 255, .12); color: #fff; }
@media (max-width: 600px) {
  /* Phone: text in the lower part of the photo so the uniform logo stays visible above it. */
  /* Phone: text in the lower part of the photo so the uniform logo stays visible above it. */
  .site-main > .tc-hero { min-height: min(78vh, 660px) !important; align-items: flex-end; padding-top: calc(var(--header-h) + 28px); padding-bottom: 76px; }
  .site-main > .tc-hero::after { content: ''; position: absolute; inset: auto 0 0; z-index: 1; height: 62%; pointer-events: none; background: linear-gradient(to top, rgba(7, 36, 48, .62), rgba(7, 36, 48, 0)); }
  .tc-hero .wp-block-cover__inner-container { z-index: 2; }
  .tc-hero .tc-btn-book .wp-block-button__link { background: rgba(11, 52, 67, .5); border-color: rgba(255, 255, 255, .9); }
  .tc-hero .wp-block-cover__image-background { object-position: 31% 30%; }
}

/* ---------- 2. About ---------- */
.tc-about .tc-about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
@media (min-width: 900px) { .tc-about .tc-about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); } }
.tc-about .tc-about-text { text-align: start; }
.tc-about .tc-about-text > * { margin-block: 0; }
.tc-about .tc-title { max-width: 16em; margin: 0; text-align: start; }
.tc-about .tc-lead { max-width: 34em; margin: 14px 0 0; color: var(--tc-muted); font-size: clamp(16px, 1.9vw, 18px); line-height: 1.9; text-align: start; }
/* Avoid a single orphan word on the last line of the hero and about paragraphs. */
.tc-hero .tc-hero-text, .tc-about .tc-lead { text-wrap: pretty; }
.tc-about .tc-about-link { margin-top: 18px; }
.tc-about .tc-about-link a { display: inline-flex; align-items: center; gap: 8px; color: var(--tc-petrol); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--tc-sky); padding-bottom: 2px; }
.tc-about .tc-about-link a::after { content: '←'; }
.tc-about .tc-about-link a:hover { color: var(--tc-navy); border-color: var(--tc-navy); }
.tc-about .tc-about-photo { margin: 0; border-radius: 20px; overflow: hidden; }
.tc-about .tc-about-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 45%; border-radius: 20px; }

/* ---------- 3. Services ---------- */
.tc-services { padding-top: clamp(24px, 4vw, 48px) !important; }
.tc-services .tc-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: clamp(28px, 4vw, 44px); }
@media (min-width: 640px) { .tc-services .tc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1024px) { .tc-services .tc-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tc-card { display: flex; flex-direction: column; margin: 0 !important; overflow: hidden; border: 1px solid var(--tc-line); border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(15, 76, 99, .05), 0 10px 26px rgba(15, 76, 99, .06); }
.tc-card .tc-card-photo { margin: 0; }
.tc-card .tc-card-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tc-card .tc-card-body { position: relative; display: flex; flex: 1; flex-direction: column; padding: 76px 24px 24px; }
.tc-card .tc-card-body::before { content: ''; position: absolute; top: 24px; inset-inline-start: 24px; width: 36px; height: 36px; background: var(--brand);
  -webkit-mask: var(--tc-ico) center / contain no-repeat; mask: var(--tc-ico) center / contain no-repeat; }
.tc-card .tc-card-num { position: absolute; top: 28px; inset-inline-end: 24px; color: var(--brand); font-family: var(--tc-plex); font-size: 16px; font-weight: 500; letter-spacing: .5px; }
.tc-card .tc-card-title { margin: 0 0 8px; color: var(--tc-ink); font-family: Lama, var(--tc-plex); font-size: clamp(20px, 2.4vw, 22px); font-weight: 700; line-height: 1.5; }
.tc-card .tc-card-text { color: var(--tc-muted); font-size: 16px; line-height: 1.8; }
.tc-card .tc-card-more { margin-top: auto !important; padding-top: 14px; }
.tc-card .tc-card-more a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--brand); font-weight: 600; text-decoration: none; }
.tc-card .tc-card-more a::after { content: '←'; transition: transform .2s; }
.tc-card .tc-card-more a:hover::after { transform: translateX(-4px); }
.tc-services .tc-all-link { margin-top: 32px !important; text-align: center; }
.tc-services .tc-all-link a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 28px; border: 1px solid var(--brand); border-radius: 10px; color: var(--brand); font-weight: 600; text-decoration: none; }
.tc-services .tc-all-link a:hover { background: var(--brand); color: #fff; }
/* Service icons (line style, chosen by the card's CSS class tc-ico-*) */
.tc-ico-home { --tc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 11.5 12 4.5l8.5 7'/%3E%3Cpath d='M6 10v10h12V10'/%3E%3Cpath d='M10.2 20v-5.2h3.6V20'/%3E%3Cpath d='M14.8 11.8h1.6v1.6h-1.6z'/%3E%3Cpath d='M20.6 2.8v2.8M19.2 4.2h2.8'/%3E%3C/svg%3E"); }
.tc-ico-sofa { --tc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 11V8.6A1.6 1.6 0 0 1 7.6 7h8.8A1.6 1.6 0 0 1 18 8.6V11'/%3E%3Cpath d='M4 12.2a1.6 1.6 0 0 1 3.2 0v2.3h9.6v-2.3a1.6 1.6 0 0 1 3.2 0v5H4z'/%3E%3Cpath d='M6 17.2v1.6M18 17.2v1.6'/%3E%3Cpath d='M20.6 3v2.8M19.2 4.4h2.8M3.4 3.5v2.2M2.3 4.6h2.2'/%3E%3C/svg%3E"); }
.tc-ico-carpet { --tc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.2 3.4 11 12.6M5.6 4.2l2.9-1.4'/%3E%3Cpath d='M10.4 12.6h6.4a2 2 0 0 1 2 2v2.6H8.4v-2.6a2 2 0 0 1 2-2z'/%3E%3Cpath d='M13.6 14.9h2.4M4.5 19.8h15M6.5 21.2h11'/%3E%3Cpath d='M20.4 2.8v2.8M19 4.2h2.8'/%3E%3C/svg%3E"); }
.tc-ico-build { --tc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.6 3.6 12.2 11'/%3E%3Cpath d='M10.5 8.6l4.9 4.9-3.1 3.1c-1.7 1.7-4.6 1.4-6.2-.2s-1.9-4.5-.2-6.2z'/%3E%3Cpath d='M5.2 15.8l2.9 2.9M6.4 13.7l3.8 3.8'/%3E%3Cpath d='M4.4 3.6v2.8M3 5h2.8M19.8 17.5v2.2M18.7 18.6h2.2'/%3E%3C/svg%3E"); }
.tc-ico-office { --tc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.6h16v10.8H4z'/%3E%3Cpath d='M9.2 8.6V7.1a1 1 0 0 1 1-1h3.6a1 1 0 0 1 1 1v1.5M4 13.2h16'/%3E%3Cpath d='M11 12.3h2v1.9h-2z'/%3E%3Cpath d='M20.6 2.2v2.8M19.2 3.6h2.8'/%3E%3C/svg%3E"); }
.tc-ico-tower { --tc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 20.4h18M4.6 20.4V9.6h5.6v10.8M10.2 20.4V5.4h8.6v15'/%3E%3Cpath d='M6.6 12h1.6M6.6 14.8h1.6M6.6 17.6h1.6M12.4 8.2h1.4M15.4 8.2h1.4M12.4 11h1.4M15.4 11h1.4M12.4 13.8h1.4M15.4 13.8h1.4M12.4 16.6h1.4M15.4 16.6h1.4'/%3E%3Cpath d='M21 2v2.8M19.6 3.4h2.8'/%3E%3C/svg%3E"); }
.tc-ico-glass { --tc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='1.5'/%3E%3Cpath d='M12 3v18M4 12h16'/%3E%3Cpath d='m6.5 9.5 3-3M14.5 18l3-3'/%3E%3C/svg%3E"); }
.tc-ico-curtain { --tc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h18'/%3E%3Cpath d='M5.5 4v16c1.6-.8 3-.8 4.5 0V4M18.5 4v16c-1.6-.8-3-.8-4.5 0V4'/%3E%3C/svg%3E"); }
.tc-ico-pest { --tc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='14.5' rx='4' ry='5'/%3E%3Ccircle cx='12' cy='7.5' r='2'/%3E%3Cpath d='M12 10v9.5M10.5 6 9 3.5M13.5 6 15 3.5M8 12.5H4.5M8 16.5l-3 1.5M16 12.5h3.5M16 16.5l3 1.5'/%3E%3C/svg%3E"); }
/* Card photo focus so each crop shows the service clearly */
.tc-ico-home .tc-card-photo img { object-position: 45% 40%; }
.tc-ico-carpet .tc-card-photo img { object-position: 68% 60%; }
.tc-ico-sofa .tc-card-photo img { object-position: 35% 60%; }
.tc-ico-glass .tc-card-photo img { object-position: 55% 45%; }
.tc-ico-curtain .tc-card-photo img { object-position: 40% 40%; }
.tc-ico-pest .tc-card-photo img { object-position: 50% 55%; }

/* ---------- 4. Why us ---------- */
.site-main > .tc-why { background: var(--tc-tint); }
.tc-why .tc-why-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: clamp(28px, 4vw, 44px); }
@media (min-width: 900px) { .tc-why .tc-why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.tc-why .tc-why-card { margin: 0 !important; padding: 26px 24px; border: 1px solid var(--tc-line); border-radius: 18px; background: #fff; }
.tc-why .tc-why-card h3 { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 10px; color: var(--tc-ink); font-family: Lama, var(--tc-plex); font-size: clamp(19px, 2.2vw, 21px); font-weight: 700; line-height: 1.5; }
.tc-why .tc-why-card h3::before { content: ''; flex: none; width: 28px; height: 28px; margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366c0ed' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12.5 2.7 2.7L16.5 9.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.tc-why .tc-why-card p { padding-inline-start: 40px; color: var(--tc-muted); font-size: 16px; line-height: 1.85; }

/* ---------- 5. How we work: white panel, navy text, sky step line and numbers ---------- */
.tc-how .tc-how-box { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; padding: clamp(36px, 6vw, 64px) clamp(22px, 5vw, 64px); border: 1px solid var(--tc-line); border-radius: 24px; background: #fff; color: var(--tc-ink); box-shadow: 0 18px 40px -30px rgba(11, 52, 67, .35); }
@media (min-width: 900px) { .tc-how .tc-how-box { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; } }
.tc-how .tc-how-head :is(p, h2, .wp-block-buttons) { margin-block: 0; }
.tc-how .tc-title { color: var(--tc-navy); text-align: start; font-family: var(--tc-plex); font-weight: 600; font-size: clamp(26px, 5vw, 38px); }
.tc-how .tc-how-head .tc-lead { margin: 14px 0 0; color: var(--tc-muted); text-align: start; }
.tc-how .tc-how-head .tc-how-actions { margin-top: 26px; }
.tc-btn-sky .wp-block-button__link { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 26px; border-radius: 10px; background: var(--tc-sky); color: var(--tc-navy); font-family: var(--tc-plex); font-size: 17px; font-weight: 600; text-decoration: none; }
.tc-btn-sky .wp-block-button__link::after { content: '↙'; font-size: 15px; }
.tc-btn-sky .wp-block-button__link:hover { background: #8fd2f3; color: var(--tc-navy); }
/* «كيف نعمل» quote button: same sky as the step circles, navy text and arrow. */
.tc-how .tc-btn-sky .wp-block-button__link { min-height: 54px; background: var(--tc-sky); color: var(--tc-navy); box-shadow: 0 10px 22px -14px rgba(11, 52, 67, .6); transition: background-color .2s; }
.tc-how .tc-btn-sky .wp-block-button__link::after { color: var(--tc-navy); font-size: 17px; }
.tc-how .tc-btn-sky .wp-block-button__link:hover { background: #8fd2f3; color: var(--tc-navy); }
.tc-how .tc-btn-sky .wp-block-button__link:focus-visible { outline: 3px solid var(--tc-sky); outline-offset: 3px; }
@media (max-width: 600px) { .tc-how .tc-btn-sky, .tc-how .tc-btn-sky .wp-block-button__link { width: 100%; justify-content: center; } }
.tc-how .tc-steps { counter-reset: tc-step; }
.tc-how .tc-step { position: relative; margin: 0 !important; padding-inline-start: 62px; padding-bottom: 34px; counter-increment: tc-step; }
.tc-how .tc-step:last-child { padding-bottom: 0; }
.tc-how .tc-step::before { content: counter(tc-step); position: absolute; top: 0; inset-inline-start: 0; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--tc-sky); color: var(--tc-navy); font-family: var(--tc-plex); font-weight: 700; box-shadow: 0 0 0 5px #e6f5fc; }
.tc-how .tc-step::after { content: ''; position: absolute; top: 50px; bottom: 6px; inset-inline-start: 20px; width: 2px; border-radius: 2px; background: var(--tc-sky); }
.tc-how .tc-step:last-child::after { display: none; }
.tc-how .tc-step h3 { margin: 4px 0 6px; color: var(--tc-navy); font-family: var(--tc-plex); font-size: clamp(19px, 2.2vw, 21px); font-weight: 600; }
.tc-how .tc-step p { color: var(--tc-muted); font-size: 16px; line-height: 1.8; }
.tc-how .tc-step .tc-step-tag { display: inline-block; margin-top: 10px; padding: 2px 14px; border: 1px solid #bfe3f5; border-radius: 999px; background: #f0f9fd; color: var(--tc-ink); font-size: 13.5px; }

/* ---------- 6. FAQ (Details blocks) ---------- */
.site-main > .tc-faq { background: var(--tc-tint); }
.tc-faq .tc-faq-list { max-width: 840px; margin-top: clamp(28px, 4vw, 40px); }
.tc-faq .tc-faq-item { margin: 0 0 12px !important; border: 1px solid var(--tc-line); border-radius: 16px; background: #fff; transition: border-color .2s; }
.tc-faq .tc-faq-item[open] { border-color: var(--brand); }
.tc-faq .tc-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 22px; color: var(--tc-ink); font-family: var(--tc-plex); font-size: clamp(16px, 2vw, 18px); font-weight: 500; line-height: 1.6; list-style: none; cursor: pointer; }
.tc-faq .tc-faq-item summary::-webkit-details-marker { display: none; }
.tc-faq .tc-faq-item summary::after { content: '+'; display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 9px; background: #eef5f8; color: var(--tc-ink); font-size: 22px; font-weight: 400; line-height: 1; }
.tc-faq .tc-faq-item[open] summary::after { content: '−'; background: var(--brand); color: #fff; }
.tc-faq .tc-faq-item summary:focus-visible { outline: 3px solid var(--tc-sky); outline-offset: 2px; border-radius: 14px; }
.tc-faq .tc-faq-item > p { padding: 0 22px 20px; color: var(--tc-muted); font-size: 16px; line-height: 1.9; }


/* ---------- 6b. Reviews (after the FAQ): light band, white rounded cards, swipe on phones ---------- */
.site-main > .tc-reviews { background: #eaf5fb; }
.tc-reviews .tc-lead { max-width: 36em; margin: 12px auto 0; color: var(--tc-muted); text-align: center; }
.tc-reviews .tc-reviews-slider { margin-top: clamp(28px, 4vw, 44px); }
.tc-reviews .tc-reviews-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 8px; margin: -4px -2px 0; }
.tc-reviews .tc-reviews-track::-webkit-scrollbar { display: none; }
.tc-reviews .tc-reviews-track:focus-visible { outline: 3px solid var(--tc-sky); outline-offset: 4px; border-radius: 20px; }
@media (min-width: 700px) { .tc-reviews .tc-reviews-track { grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; } }
@media (min-width: 1024px) { .tc-reviews .tc-reviews-track { grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; } }
.tc-review { display: flex; flex-direction: column; min-width: 0; padding: 26px 24px 22px; border: 1px solid var(--tc-line); border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(15, 76, 99, .04); scroll-snap-align: start; }
.tc-review-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.tc-stars { display: inline-flex; gap: 3px; }
.tc-star { width: 19px; height: 19px; background: #f5b400;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.8 2.8 5.8 6.3.9-4.6 4.4 1.1 6.3L12 17.2l-5.6 3 1.1-6.3-4.6-4.4 6.3-.9z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.8 2.8 5.8 6.3.9-4.6 4.4 1.1 6.3L12 17.2l-5.6 3 1.1-6.3-4.6-4.4 6.3-.9z'/%3E%3C/svg%3E") center / contain no-repeat; }
.tc-star.is-empty { background: #d5e1e6; }
.tc-review-tag { display: inline-block; padding: 3px 12px; border: 1px solid #cfe6f3; border-radius: 999px; background: #f0f8fc; color: var(--tc-petrol); font-size: 13px; font-weight: 500; line-height: 1.7; }
.tc-review-text { flex: 1; margin: 16px 0 0 !important; color: var(--tc-ink); font-size: 16px; line-height: 1.9; }
.tc-review-foot { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #e8f0f3; }
.tc-review-foot p { margin: 0; }
.tc-review-avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #e3f2fa; color: var(--tc-petrol); font-family: var(--tc-plex); font-size: 18px; font-weight: 700; }
.tc-review-name { color: var(--tc-ink); font-family: var(--tc-plex); font-size: 16px; font-weight: 600; line-height: 1.5; }
.tc-review-link, .tc-review-src { display: inline-block; margin-top: 2px; color: var(--brand); font-size: 14px; line-height: 1.6; }
.tc-review-link { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tc-review-link:hover { color: var(--tc-navy); }
.tc-review-src { color: var(--tc-muted); }
.tc-reviews-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; }
.tc-reviews-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--tc-line); border-radius: 50%; background: #fff; color: var(--tc-ink); cursor: pointer; }
.tc-reviews-btn::before { content: ''; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.tc-reviews-next::before { transform: scaleX(-1); }
.tc-reviews-btn:hover { border-color: var(--brand); color: var(--brand); }
.tc-reviews-btn:disabled { opacity: .4; cursor: default; }
.tc-reviews-btn:focus-visible { outline: 3px solid var(--tc-sky); outline-offset: 2px; }
.tc-reviews-dots { display: flex; gap: 8px; }
.tc-reviews-dots span { width: 8px; height: 8px; border-radius: 999px; background: #c5d9e1; transition: width .2s, background-color .2s; }
.tc-reviews-dots span.is-active { width: 22px; background: var(--brand); }
.tc-reviews-slider.is-static .tc-reviews-nav { display: none; }
.tc-reviews .tc-all-link { margin-top: 20px !important; text-align: center; }
.tc-reviews .tc-all-link a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.tc-reviews .tc-all-link a::after { content: "←"; text-decoration: none; }
.tc-reviews .tc-all-link a:hover { color: var(--tc-navy); }
@media (prefers-reduced-motion: reduce) { .tc-reviews .tc-reviews-track { scroll-behavior: auto; } .tc-reviews-dots span { transition: none; } }
/* ---------- 7. Contact card ---------- */
.site-main > .tc-cta { padding-bottom: clamp(48px, 6vw, 72px); }
.tc-cta .tc-cta-box { display: grid; gap: 8px; padding: clamp(32px, 5vw, 52px) clamp(24px, 5vw, 56px); border-radius: 24px; background: var(--tc-petrol); color: #fff; }
@media (min-width: 900px) { .tc-cta .tc-cta-box { grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: center; } .tc-cta .tc-cta-actions { grid-column: 2; grid-row: 1 / span 2; } }
.tc-cta .tc-cta-title { margin: 0; color: #fff; font-family: var(--tc-plex); font-weight: 600; font-size: clamp(26px, 5vw, 34px); line-height: 1.5; }
.tc-cta .tc-cta-text { color: #d6e8ef; font-size: clamp(16px, 2vw, 18px); line-height: 1.85; }
.tc-cta .tc-cta-actions { display: grid; gap: 14px; margin-top: 20px; }
@media (min-width: 900px) { .tc-cta .tc-cta-actions { margin-top: 0; min-width: 300px; } }
.tc-cta .tc-cta-actions .wp-block-button { width: 100%; margin: 0; }
.tc-cta .wp-block-button__link { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 58px; padding: 0 24px; border-radius: 999px; font-family: var(--tc-plex); font-size: 17px; font-weight: 600; text-decoration: none; }
.tc-cta .wp-block-button__link::before { content: ''; flex: none; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--tc-ico) center / contain no-repeat; mask: var(--tc-ico) center / contain no-repeat; }
.tc-btn-white .wp-block-button__link { background: #fff; color: var(--tc-ink); --tc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 20.5 5 16a8.5 8.5 0 1 1 3.2 3.2z'/%3E%3Cpath d='M9 8.5c0 3.5 2.6 6.5 6.5 6.5l.9-1.6-2-1-1 1c-1.2-.5-2.3-1.6-2.8-2.8l1-1-1-2z'/%3E%3C/svg%3E"); }
.tc-btn-white .wp-block-button__link:hover { background: #e8f4fa; color: var(--tc-ink); }
.tc-btn-line .wp-block-button__link { border: 1.5px solid rgba(255, 255, 255, .55); background: transparent; color: #fff; --tc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h3l2 5-2.5 1.5a11 11 0 0 0 6 6L15 14l5 2v3a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E"); }
.tc-btn-line .wp-block-button__link:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }

/* ---------- Footer on the front page: white and simple ---------- */
.home .site-footer { margin-top: 0; }

@media (prefers-reduced-motion: reduce) { .site-header.is-overlay, .tc-card .tc-card-more a::after { transition: none; } }
