/* Services / Team / Contact pages. Uses the variables from home.css. */
body.pg-page { background: #f7f9fc; }
.nav--solid { background: var(--navy); box-shadow: 0 8px 28px rgba(0, 36, 88, 0.25); }
.nav--solid .nav-links a[aria-current="page"] { background: rgba(255, 255, 255, 0.16); color: #fff; }
.footer-logo { height: 64px; }

.pg-hero { background: var(--navy-gradient); padding: 150px 0 72px; color: #fff; position: relative; overflow: hidden; }
.pg-hero::after { content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background: repeating-linear-gradient(115deg, transparent 0 26px, var(--gold) 26px 28px); }
.pg-hero .container { position: relative; z-index: 1; }
.pg-hero h1 { color: #fff; font-size: clamp(30px, 5vw, 52px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin: 12px 0 14px; max-width: 760px; }
.pg-hero p { color: var(--text-on-navy-soft); font: 500 17px/1.7 var(--font-body); max-width: 620px; margin: 0; }
.pg-section { padding-top: 64px; padding-bottom: 8px; }
.pg-section:last-of-type { padding-bottom: 90px; }
.pg-empty { text-align: center; color: var(--text-subtle); font: 500 16px/1.7 var(--font-body); padding: 40px 0; }
.pg-dev { padding: 12px 14px; border-radius: 10px; background: #fff4de; color: #7a4a00; font-size: 13px; line-height: 1.6; }

/* icon badge color tones */
.tone-blue { background: #E8F1FF; color: #002458; } .tone-gold { background: #FFF3DF; color: #B26A00; }
.tone-green { background: #E9F6EE; color: #2E8B57; } .tone-violet { background: #F0EEFB; color: #4A3E9E; }
.tone-red { background: #FDECEA; color: #B03A2E; }

/* ---- services ---- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); display: flex; flex-direction: column;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 24px 46px rgba(0, 36, 88, 0.16); }
.svc-card .service-icon { width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.svc-card .service-icon .material-symbols-rounded { font-size: 26px; }
.svc-photo { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.svc-card:hover .svc-photo img { transform: scale(1.06); }
.svc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.svc-card h2 { font: 700 20px var(--font-head); color: var(--navy); }
.svc-card p { margin: 0; font: 500 14px/1.7 var(--font-body); color: var(--text-subtle); }
.svc-points { margin: 4px 0 0; padding-left: 18px; color: var(--text-body); font: 500 13.5px/1.7 var(--font-body); }
.svc-link { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; font: 700 13.5px var(--font-body); color: var(--navy); }
.svc-link .material-symbols-rounded { font-size: 18px; color: var(--orange); transition: transform .2s; }
.svc-link:hover .material-symbols-rounded { transform: translateX(4px); }
.pg-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 36px 40px; border-radius: var(--radius-lg);
  background: linear-gradient(100deg, var(--navy-deep), var(--navy-deep-2)); color: #fff; }
.pg-cta h2 { color: #fff; font-size: 24px; margin-bottom: 6px; } .pg-cta p { margin: 0; color: var(--text-on-navy-soft); }

/* ---- team ---- */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.team-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); }
.team-photo { aspect-ratio: 4 / 5; background: var(--navy-gradient); display: grid; place-items: center; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-initials { font: 800 54px var(--font-head); color: rgba(255,255,255,.9); }
.team-body { padding: 18px 20px 22px; }
.team-body h2 { font: 700 17px var(--font-head); color: var(--navy); margin-bottom: 4px; }
.team-role { font: 700 12.5px var(--font-body); color: var(--orange); text-transform: uppercase; letter-spacing: .06em; }
.team-body p { margin: 10px 0 0; font: 500 13.5px/1.65 var(--font-body); color: var(--text-subtle); }

/* ---- contact ---- */
.ct-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 28px; align-items: start; }
.ct-info { display: grid; gap: 18px; }
.ct-whatsapp { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius-md); background: #25D366; color: #fff;
  box-shadow: 0 16px 34px rgba(37, 211, 102, .3); transition: transform .25s; }
.ct-whatsapp:hover { transform: translateY(-3px); }
.ct-whatsapp svg { width: 40px; height: 40px; fill: currentColor; flex: 0 0 auto; }
.ct-whatsapp strong { display: block; font: 700 17px var(--font-head); } .ct-whatsapp small { opacity: .92; font: 500 12.5px var(--font-body); }
.ct-list { list-style: none; margin: 0; padding: 8px 22px; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.ct-list:empty { display: none; }
.ct-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--divider); color: var(--text-body); font: 600 14.5px/1.5 var(--font-body); }
.ct-list li:last-child { border-bottom: 0; }
.ct-list .material-symbols-rounded { color: var(--orange); font-size: 24px; }
.ct-list small { display: block; color: var(--text-muted); font: 600 11.5px var(--font-body); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.ct-form { background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-soft); scroll-margin-top: 100px; }
.ct-form h2 { font: 700 22px var(--font-head); color: var(--navy); margin-bottom: 20px; }
.ct-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ct-field { margin-bottom: 16px; }
.ct-field label { display: block; font: 600 13px var(--font-body); color: var(--text-body); margin-bottom: 7px; }
.ct-field input, .ct-field select, .ct-field textarea { width: 100%; padding: 13px 14px; border: 1.5px solid var(--divider); border-radius: 10px; background: #fff;
  font: 500 15px var(--font-body); color: var(--navy); }
.ct-field textarea { resize: vertical; min-height: 130px; }
.ct-field input:focus, .ct-field select:focus, .ct-field textarea:focus { outline: none; border-color: var(--navy-bright); box-shadow: 0 0 0 3px rgba(11, 94, 168, .14); }
.ct-field.has-error input, .ct-field.has-error select, .ct-field.has-error textarea { border-color: #a4262c; }
.ct-error { margin: 6px 0 0; color: #a4262c; font: 500 12.5px/1.4 var(--font-body); }
.ct-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-submit { width: 100%; height: 52px; border: 0; border-radius: 12px; cursor: pointer; background: var(--gold-gradient); color: var(--ink);
  font: 700 15px var(--font-head); box-shadow: 0 12px 26px rgba(248, 151, 12, .28); transition: transform .2s; }
.ct-submit:hover { transform: translateY(-2px); }
.pg-flash { padding: 13px 16px; border-radius: 12px; margin-bottom: 18px; font: 600 14px/1.5 var(--font-body); }
.pg-flash--ok { background: rgba(46, 139, 87, .13); color: #1d6b40; } .pg-flash--err { background: #fdecea; color: #a4262c; }
.ct-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-strong); background: var(--bg-alt); }
.ct-map iframe { display: block; width: 100%; height: 420px; border: 0; }
.ct-map-link { text-align: center; margin: 16px 0 0; }
.ct-map-link a { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font: 700 14px var(--font-body); text-decoration: underline; }

@media (max-width: 1024px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ct-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ct-row { grid-template-columns: minmax(0, 1fr); } .pg-hero { padding-top: 120px; } .ct-form { padding: 24px 20px; } .ct-map iframe { height: 320px; } }



/* ---- "Request this service" popup (WhatsApp / email) ---- */
button.svc-link { border: 0; background: none; cursor: pointer; padding: 0; text-align: left; }
.svc-modal[hidden] { display: none; }
.svc-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.svc-modal-backdrop { position: absolute; inset: 0; background: rgba(0, 36, 88, .55); backdrop-filter: blur(2px); }
.svc-modal-panel { position: relative; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-strong); padding: 32px; max-width: 420px; width: 100%; text-align: center; }
.svc-modal-close { position: absolute; top: 14px; right: 14px; border: 0; background: none; cursor: pointer; color: var(--text-muted); }
.svc-modal-panel h3 { font: 700 20px var(--font-head); color: var(--navy); margin: 0 0 8px; }
.svc-modal-panel > p { color: var(--text-subtle); font: 500 14px/1.6 var(--font-body); margin: 0 0 24px; }
.svc-modal-actions { display: grid; gap: 12px; }
.svc-modal-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; border-radius: 12px; font: 700 14px var(--font-body); text-decoration: none; transition: transform .2s; }
.svc-modal-btn:hover { transform: translateY(-2px); }
.svc-modal-btn--whatsapp { background: #25D366; color: #fff; }
.svc-modal-btn--whatsapp svg { width: 20px; height: 20px; fill: currentColor; }
.svc-modal-btn--email { background: var(--navy); color: #fff; }
.svc-modal-note { margin: 16px 0 0; font: 500 12px/1.5 var(--font-body); color: var(--text-muted); }
/* ---- additional responsive rules (tablet ≤ 1024, mobile ≤ 720, small mobile ≤ 420) ---- */
@media (max-width: 1024px) {
  .ct-map iframe { height: 360px; }
}
@media (max-width: 720px) {
  .pg-hero { padding: 108px 0 48px; }
  .pg-hero p { font-size: 15.5px; }
  .pg-section { padding-top: 40px; }
  .pg-section:last-of-type { padding-bottom: 64px; }
  .svc-body { padding: 18px 20px 22px; }
  .pg-cta { padding: 26px 22px; gap: 18px; }
  .pg-cta h2 { font-size: 20px; }
  .pg-cta .nav-cta { width: 100%; justify-content: center; }
  .ct-whatsapp { padding: 16px 18px; }
  .ct-list { padding: 4px 18px; }
  .svc-modal-panel { padding: 26px 20px; }
}
@media (max-width: 420px) {
  .team-grid { gap: 14px; }
  .team-body { padding: 14px 14px 16px; }
  .team-body h2 { font-size: 15px; }
  .team-body p { font-size: 12.5px; }
}
