/*
Theme Name: GTM Cloud
Theme URI: https://gtmcloud.com
Description: Child theme of Twenty Twenty-Five for gtmcloud.com. Colors, type and spacing are in theme.json; this file holds the few component styles theme.json cannot express.
Author: GTM Cloud
Template: twentytwentyfive
Version: 0.2.0
Requires at least: 6.9
Requires PHP: 8.2
Text Domain: gtmcloud
*/

/* ---- Buttons ---- */
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--wp--preset--color--hull);
  border: 2px solid var(--wp--preset--color--hull);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--wp--preset--color--hull);
  color: var(--wp--preset--color--sailcloth);
}
.is-dark .wp-block-button.is-style-outline .wp-block-button__link {
  color: var(--wp--preset--color--sailcloth);
  border-color: var(--wp--preset--color--sailcloth);
}

/* ---- Eyebrow, chips ---- */
.eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wp--preset--color--tide);
}
.is-dark .eyebrow { color: var(--wp--preset--color--brass); }

.chip {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--wp--preset--color--hull);
}
.chip--capture { background: var(--wp--preset--color--stage-capture); }
.chip--clean { background: var(--wp--preset--color--stage-clean); }
.chip--convert { background: var(--wp--preset--color--stage-convert); }
.chip--engage { background: var(--wp--preset--color--stage-engage); }
.chip--close { background: var(--wp--preset--color--stage-close); }
.chip--prove { background: var(--wp--preset--color--stage-prove); }
.chip--watch { background: var(--wp--preset--color--stage-watch); }
.chip--agents { background: var(--wp--preset--color--stage-agents); }
.chip--status {
  background: transparent;
  color: var(--wp--preset--color--slate);
  border: 1px solid var(--wp--preset--color--slate);
  text-transform: none;
  letter-spacing: 0;
}

/* ---- Sections ---- */
.is-dark {
  background: var(--wp--preset--color--hull);
  color: var(--wp--preset--color--sailcloth);
}
.is-dark :where(h1, h2, h3, h4) { color: var(--wp--preset--color--sailcloth); }
.is-dark a { color: var(--wp--preset--color--brass); }

/* "You know this one" */
.moment {
  border-left: 3px solid var(--wp--preset--color--tide);
  padding-left: 1.5rem;
  font-size: var(--wp--preset--font-size--large);
}

/* Promise strip */
.promise h3 { color: var(--wp--preset--color--brass); font-size: 1.125rem; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--wp--preset--font-family--body); }

/* Cards */
.card {
  background: #fff;
  border: 1px solid var(--wp--preset--color--fog);
  border-radius: 10px;
  padding: 1.5rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
a.card, .card:has(a:only-of-type) { text-decoration: none; }
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(11, 31, 58, 0.08); }

.app-tile {
  width: 44px; height: 44px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1.375rem; color: #fff;
}

/* Blog callout: "What to do Monday" */
.callout {
  background: #E3F1F4;
  border-left: 3px solid var(--wp--preset--color--tide);
  border-radius: 0 10px 10px 0;
  padding: 1.25rem 1.5rem;
}

/* Tables */
.wp-block-table table { border-collapse: collapse; width: 100%; background: #fff; }
.wp-block-table th { text-align: left; background: var(--wp--preset--color--hull); color: var(--wp--preset--color--sailcloth); }
.wp-block-table th, .wp-block-table td { border: 1px solid var(--wp--preset--color--fog); padding: 0.75rem 1rem; vertical-align: top; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--wp--preset--color--fog); padding: 1rem 0; }
.faq summary { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 1.25rem; cursor: pointer; }

/* Accessibility */
:focus-visible { outline: 3px solid var(--wp--preset--color--tide); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Body text measure */
.entry-content > p, .entry-content > ul, .entry-content > ol { max-width: 68ch; }
/* ---- Header and footer ---- */
.site-header { padding: 0.9rem 1.5rem; background: var(--wp--preset--color--sailcloth); border-bottom: 1px solid var(--wp--preset--color--fog); position: sticky; top: 0; z-index: 50; }
.site-header .wp-block-navigation { font-size: 0.9375rem; font-weight: 500; }
.site-header .wp-block-navigation a { text-decoration: none; color: rgba(11, 31, 58, 0.8); }
.site-header .wp-block-navigation a:hover { color: var(--wp--preset--color--signal); }
.site-footer { padding: 3rem 1.5rem 2rem; margin-top: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .footer-heading { font-family: var(--wp--preset--font-family--body); font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(248, 245, 238, 0.9); }
.site-footer .footer-links { list-style: none; padding: 0; font-size: 0.9375rem; }
.site-footer .footer-links li { margin-bottom: 0.5rem; }
.site-footer hr { border-color: rgba(248, 245, 238, 0.15); }
.site-footer .wp-block-button.is-style-outline .wp-block-button__link { color: var(--wp--preset--color--sailcloth); border-color: rgba(248, 245, 238, 0.4); }

/* ---- Page sections (made by the import script) ---- */
.sec { padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; }
.sec > * { max-width: 1152px; margin-left: auto; margin-right: auto; }
.sec-hero { background: rgba(228, 232, 238, 0.3); }
.sec-hero .wp-block-image img { border-radius: 2px; width: 100%; height: auto; }
.sec-services, .sec-education, .sec-details, .sec-discounts { background: rgba(228, 232, 238, 0.18); }
.sec-credentials-strip { padding-top: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--wp--preset--color--fog); }
.sec-credentials-strip ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: center; list-style: none; padding: 0; font-size: 0.9375rem; color: var(--wp--preset--color--slate); }
.sec-credentials-strip li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--wp--preset--color--tide); margin-right: 0.6rem; vertical-align: middle; }
.sec-pull-quote blockquote { border: 0; padding: 0; text-align: center; max-width: 48rem; margin: 0 auto; }
.sec .wp-block-columns { gap: 1.5rem; }
.sec .wp-block-column.card, .sec .wp-block-column > .card { height: 100%; }
.sec .wp-block-image img { border-radius: 2px; }
.sec-cta { text-align: center; }
.sec-cta .wp-block-buttons { justify-content: center; }
.sec-testimonials blockquote, .sec-comparison table { background: var(--wp--preset--color--sailcloth); }
.sec details { border-bottom: 1px solid var(--wp--preset--color--fog); padding: 1rem 0; }
.sec details summary { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 1.1875rem; cursor: pointer; }
.sec .wp-block-post-template .wp-block-post-title { font-size: 1.25rem; }
.post-main { padding-top: 1.5rem; padding-bottom: 3rem; }
.post-date { color: var(--wp--preset--color--slate); font-size: 0.875rem; }

/* ---- Forms (our own, from the site plugin) ---- */
.site-form { max-width: 40rem; display: grid; gap: 1.1rem; }
.site-form label, .site-form legend { font-weight: 600; font-size: 0.9375rem; display: block; margin-bottom: 0.3rem; }
.site-form input[type="text"], .site-form input[type="email"], .site-form input[type="tel"], .site-form select, .site-form textarea { width: 100%; border: 1px solid var(--wp--preset--color--fog); border-radius: 2px; background: var(--wp--preset--color--sailcloth); padding: 0.65rem 1rem; font: inherit; color: inherit; }
.site-form input:focus, .site-form select:focus, .site-form textarea:focus { outline: 2px solid var(--wp--preset--color--tide); outline-offset: 1px; }
.site-form fieldset { border: 0; padding: 0; margin: 0; }
.site-form .site-form__check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; }
.site-form .site-form__req { color: #9a2b1b; }
.site-form .site-form__opt, .site-form .site-form__hint, .site-form .site-form__consent { color: var(--wp--preset--color--slate); font-weight: 400; font-size: 0.875rem; margin: 0; }
.site-form .site-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.site-form .site-form__status { font-weight: 600; min-height: 1.5em; margin: 0; }
.site-form button[disabled] { opacity: 0.6; cursor: wait; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* GTM Cloud specific */
.sec-promise, .sec-cta { background: var(--wp--preset--color--hull); color: var(--wp--preset--color--sailcloth); }
.sec-moments .wp-block-column { border-left: 3px solid var(--wp--preset--color--tide); padding-left: 1.25rem; }
.site-footer .wp-block-columns { gap: 2rem; }
.footer-trademark { font-size: 0.8125rem; opacity: 0.8; }
