/* Contact page: built on the home page's glass look (home.css supplies the surfaces, backdrop and reveals). */

body.contact-page { overflow-x: clip; }

/* Header */
.ct-hero { padding: 48px 16px 24px; }
.ct-hero h1 { margin: 14px 0 10px; font-size: clamp(2.6rem, 7vw, 4.2rem); letter-spacing: -0.03em; line-height: 1; color: var(--h); }
.ct-hero p { margin: 0; color: var(--txt-soft); font-size: 1.08rem; max-width: 46ch; }

/* Contact cards */
.ct-cards { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); padding: 8px 16px 24px; }
@media (min-width: 960px) { .ct-cards { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
@media (min-width: 1200px) { .ct-cards { gap: 18px; } }
.ct-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border-radius: 22px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
a.ct-card:hover { transform: translateY(-5px); box-shadow: 0 30px 56px -26px rgba(19, 71, 85, 0.45); }
a.ct-card:focus-visible { outline: 3px solid rgba(47, 156, 138, 0.6); outline-offset: 4px; }
.ct-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #2f9c8a, #1c6171);
  box-shadow: 0 12px 22px -14px rgba(28, 97, 113, 0.8);
  transition: transform 0.6s var(--ease-out);
}
a.ct-card:hover .ct-icon, .ct-card:hover .ct-icon { transform: rotate(-6deg) scale(1.05); }
.ct-label { font-size: 11px; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--txt-mute); }
.ct-value { font-size: clamp(0.9rem, 1.25vw, 1.02rem); font-weight: 650; color: var(--h); overflow-wrap: break-word; line-height: 1.3; }
.ct-action { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ocean); }
.ct-action .arrow { transition: transform 0.5s var(--ease-out); }
a.ct-card:hover .ct-action .arrow { transform: translateX(4px); }
.ct-muted { color: var(--txt-soft); font-weight: 500; }

/* Form and side panels */
.ct-main { display: grid; gap: 20px; padding: 8px 16px 64px; }
@media (min-width: 960px) { .ct-main { grid-template-columns: 1.4fr 1fr; align-items: start; gap: 24px; } }

.ct-form { padding: clamp(24px, 3.6vw, 40px); border-radius: 28px; }
.ct-form-head h2 { margin: 0 0 6px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -0.015em; color: var(--h); }
.ct-form-head p { margin: 0 0 24px; color: var(--txt-soft); }
.ct-fields { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ct-fields { grid-template-columns: 1fr 1fr; } .ct-full { grid-column: 1 / -1; } }
.ct-field { display: grid; gap: 7px; }
.ct-field span { font-size: 13px; font-weight: 650; color: var(--h); }
.ct-field em { font-style: normal; font-weight: 500; color: var(--txt-mute); }
.ct-field input, .ct-field textarea {
  width: 100%;
  margin: 0;
  padding: 13px 15px;
  border-radius: 16px;
  border: 1px solid var(--glass-edge);
  background: var(--chip-bg);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.35s, box-shadow 0.35s, background-color 0.35s;
}
.ct-field textarea { min-height: 140px; resize: vertical; }
.ct-field input::placeholder, .ct-field textarea::placeholder { color: var(--txt-mute); opacity: 0.8; }
.ct-field input:focus, .ct-field textarea:focus {
  outline: none;
  border-color: var(--ocean);
  box-shadow: 0 0 0 4px rgba(47, 156, 138, 0.18);
  background: var(--surface);
}
.ct-field input:invalid:not(:placeholder-shown), .ct-field textarea:invalid:not(:placeholder-shown) { border-color: #c9603f; }
.ct-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 24px; }
.ct-submit small { color: var(--txt-mute); font-size: 13px; }
.ct-send { border: 0; cursor: pointer; font: inherit; }
.ct-send:hover { transform: translateY(-2px); }

.ct-side { display: grid; gap: 16px; }
.ct-side-card { padding: 26px; border-radius: 26px; }
.ct-side-card h2 { margin: 0 0 8px; font-size: 1.25rem; color: var(--h); letter-spacing: -0.01em; }
.ct-side-card p { margin: 0 0 16px; color: var(--txt-soft); }
.ct-social { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-social a {
  padding: 9px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--h);
  background: var(--chip-bg);
  border: 1px solid var(--glass-edge);
  transition: transform 0.5s var(--ease-out), background-color 0.4s;
}
.ct-social a:hover { transform: translateY(-2px); background: rgba(47, 156, 138, 0.16); }
.ct-quote { background: linear-gradient(150deg, rgba(28, 97, 113, 0.92), rgba(19, 71, 85, 0.96)); color: #e8f4f2; }
.ct-quote p { color: #e3f2ef; font-size: 1.05rem; margin: 0 0 12px; }
.ct-quote span { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: #bfe0da; }
.ct-shop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  border-radius: 26px;
  text-decoration: none;
  font-weight: 650;
  color: var(--h);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.ct-shop:hover { transform: translateY(-4px); box-shadow: 0 30px 56px -26px rgba(19, 71, 85, 0.45); }
.ct-shop .arrow { color: var(--ocean); transition: transform 0.5s var(--ease-out); }
.ct-shop:hover .arrow { transform: translateX(5px); }

@media (prefers-reduced-motion: reduce) {
  a.ct-card, .ct-icon, .ct-shop, .ct-social a, .ct-field input, .ct-field textarea { transition: none; }
  a.ct-card:hover, .ct-shop:hover { transform: none; }
}
