/* WorkED — workedflorida.com
   Brand: yellow #FEBE17 / ink #221E1B / cream #F6F2EE
   Contrast notes: body text #4F4943 on #FCFCFC = 8.3:1, links #7A5500 on cream >= 5.9:1 */

/* Fonts: self-hosted latin subsets of Rethink Sans and Onest (SIL Open Font License) */
@font-face { font-family: "Rethink Sans"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("../fonts/rethink-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/onest-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --yellow: #FEBE17;
  --yellow-dark: #CE980C;
  --ink: #221E1B;
  --black: #0E0C0B;
  --cream: #F6F2EE;
  --paper: #FCFCFC;
  --sand: #E2D7CC;
  --stone: #E9E6E2;
  --text: #4F4943;
  --muted: #6B645D;
  --link: #7A5500;
  --line: rgba(34, 30, 27, .16);

  --font-head: "Rethink Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1290px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --section: clamp(64px, 9vw, 120px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.1; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
mark { background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%); color: inherit; padding: 0 .08em; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--yellow); border-radius: 2px; }
.site-footer :focus-visible, .topbar :focus-visible { outline-color: var(--yellow); box-shadow: none; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--yellow); color: var(--ink); font-weight: 600;
  padding: 12px 18px; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.15em; height: 1.15em; flex: none; }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); margin: 0 0 14px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  text-decoration: none; border-radius: var(--radius); border: 2px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn--ink { background: var(--ink); color: var(--yellow); }
.btn--ink:hover { background: var(--black); color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--yellow); }
.btn--block { width: 100%; }

/* Top bar */
.topbar { background: var(--ink); color: var(--cream); font-size: .875rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 44px; flex-wrap: wrap; padding-block: 6px; }
.topbar__area { margin: 0; font-weight: 500; }
.topbar__actions { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; }
.topbar__label { color: #CFC8C1; }
.topbar__link { display: inline-flex; align-items: center; gap: 6px; color: var(--yellow); text-decoration: none; font-weight: 600; min-height: 32px; }
.topbar__link:hover { color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(252, 252, 252, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(34, 30, 27, .06); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; padding: 6px 0; }
.brand img { width: 150px; height: auto; }

.site-nav ul { list-style: none; display: flex; align-items: center; gap: 6px; }
.site-nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  color: var(--ink); text-decoration: none; font-weight: 500;
  background: linear-gradient(var(--yellow), var(--yellow)) no-repeat 14px calc(100% - 8px) / 0 3px;
  transition: background-size .25s;
}
.site-nav a:not(.btn):hover, .site-nav a[aria-current="true"] { background-size: calc(100% - 28px) 3px; }
.site-nav__cta { margin-left: 10px; }

.nav-toggle { display: none; }

@media (max-width: 899px) {
  :root { --header-h: 64px; }
  .brand img { width: 124px; }
  .js .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border: 0; border-radius: var(--radius);
    background: var(--yellow); color: var(--ink); cursor: pointer;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform .25s, background-color .25s;
  }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -7px; }
  .nav-toggle__bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

  .site-header__inner { flex-wrap: wrap; }
  .js .site-header__inner { flex-wrap: nowrap; }
  .js .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(34, 30, 27, .1); }
  .js .site-nav:not(.is-open) { display: none; }
  .site-nav ul { flex-wrap: wrap; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 0; padding: 8px var(--gutter) 20px; }
  .js .site-nav a:not(.btn) { min-height: 52px; padding: 0 4px; border-bottom: 1px solid var(--line); font-size: 1.1rem; background-position: 4px calc(100% - 10px); }
  .js .site-nav__cta { margin: 16px 0 0; }
  .js .site-nav__cta .btn { width: 100%; }
}

/* Hero */
.hero { background: var(--paper); padding-top: clamp(40px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; position: relative; z-index: 2; }
.hero h1 { font-weight: 500; font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: 1.04; letter-spacing: -.025em; }
.hero h1 .eyebrow { font-size: .8rem; letter-spacing: .14em; line-height: 1.4; margin-bottom: 22px; padding-left: 14px; border-left: 4px solid var(--yellow); }
.hero__line { display: block; }
.hero__line--bold { font-weight: 800; }
.hero__card { background: var(--yellow); padding: 26px 24px 0; margin-bottom: -48px; box-shadow: 0 20px 40px rgba(34, 30, 27, .12); }
.hero__card-title { font-family: var(--font-head); font-size: 1.6rem; font-weight: 500; line-height: 1.2; color: var(--ink); margin-bottom: 12px; }
.hero__card-text { color: var(--ink); font-size: .98rem; margin-bottom: 22px; }
.hero__card .btn { margin: 0 -24px 0 -24px; width: calc(100% + 48px); min-height: 60px; border-radius: 0; justify-content: space-between; padding-inline: 24px; }
.hero__media { margin-top: clamp(40px, 6vw, 72px); }
.hero__media img { width: 100%; aspect-ratio: 2000 / 670; object-fit: cover; }

@media (max-width: 899px) {
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__card { margin-bottom: 0; max-width: 520px; }
}
@media (max-width: 699px) {
  .hero__media { margin-top: 32px; }
  .hero__media img { aspect-ratio: 800 / 536; }
}

/* About */
.about { padding-block: calc(var(--section) + 24px) var(--section); }
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.about__title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 500; line-height: 1.08; }
.about__body > p { max-width: 62ch; }
.about__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
.about__lists h3 { font-size: 1.45rem; margin-bottom: 16px; }
.check-list { list-style: none; display: grid; gap: 8px; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 2px;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.3 6.6 11.3 12.5 4.9' fill='none' stroke='%23221E1B' stroke-width='2'/%3E%3C/svg%3E") center / 14px no-repeat;
}
@media (max-width: 899px) { .about__grid { grid-template-columns: 1fr; } }
@media (max-width: 519px) { .about__lists { grid-template-columns: 1fr; } }

/* Section heads */
.section-head { margin-bottom: clamp(32px, 4vw, 52px); max-width: 760px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 500; }

/* Services: image accordion on desktop, grid on smaller screens */
.services { background: var(--cream); padding-top: var(--section); overflow: hidden; }
.svc-gallery { --svc-gap: 20px; --svc-grow: 3.4; list-style: none; display: flex; gap: var(--svc-gap); container-type: inline-size; }
.svc { flex: 1 1 0; min-width: 0; transition: flex-grow .5s cubic-bezier(.2, .7, .2, 1); }
.svc:first-child { flex-grow: var(--svc-grow); }
.svc-gallery:hover .svc, .svc-gallery:focus-within .svc { flex-grow: 1; }
.svc-gallery .svc:hover, .svc-gallery .svc:focus-within { flex-grow: var(--svc-grow); }
/* Height = width of the expanded card (grow / (grow + 3) of the row minus 3 gaps), so it shows the full square image */
.svc__media { height: clamp(320px, 31vw, 420px); height: calc((100cqw - 3 * var(--svc-gap)) * var(--svc-grow) / (var(--svc-grow) + 3)); overflow: hidden; background: var(--sand); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc__text { padding-top: 16px; }
.svc__text h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.svc__text p { font-size: .95rem; margin: 0; color: var(--text); }
.services__more { margin: 40px 0 0; max-width: 70ch; }

@media (max-width: 959px) {
  .br-desk { display: none; }
  .svc-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .svc__media { height: auto; aspect-ratio: 1; }
}
@media (max-width: 559px) { .svc-gallery { grid-template-columns: 1fr; } }

.marquee { margin-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 6vw, 80px); overflow: hidden; user-select: none; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span {
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase; white-space: nowrap;
  font-size: clamp(3.2rem, 9vw, 8rem); line-height: 1; padding-right: .6em;
  color: transparent; -webkit-text-stroke: 1.5px #8F8A86;
}
.marquee span:nth-child(odd) { color: #8F8A86; -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Steps */
.steps { background: var(--yellow); padding-block: var(--section); color: var(--ink); }
.steps .eyebrow { color: var(--ink); }
.steps__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.steps__list li { background: var(--paper); padding: 28px 26px 30px; border-top: 4px solid var(--ink); }
.steps__num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: var(--muted); margin-bottom: 18px; }
.steps__list h3 { font-size: 1.35rem; margin-bottom: 10px; }
.steps__list p { margin: 0; }
@media (max-width: 799px) { .steps__list { grid-template-columns: 1fr; } }

/* FAQ */
.faq { background: var(--stone); padding-block: var(--section); }
.faq__list { border-top: 1px solid rgba(34, 30, 27, .35); }
.faq__item { border-bottom: 1px solid rgba(34, 30, 27, .35); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 90px 1fr 40px; align-items: center; gap: 12px;
  min-height: 84px; padding: 18px 8px;
  font-family: var(--font-head); color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__num { font-weight: 700; font-size: 1.15rem; color: var(--muted); }
.faq__q { font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.3; }
.faq__item summary::after {
  content: ""; justify-self: end; width: 32px; height: 32px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%23FEBE17' stroke-width='2'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover .faq__q { text-decoration: underline; text-decoration-color: var(--yellow-dark); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.faq__a { padding: 0 48px 26px 110px; max-width: 900px; color: var(--ink); }
.faq__a p { margin: 0; }
@media (max-width: 599px) {
  .faq__item summary { grid-template-columns: 40px 1fr 32px; min-height: 72px; padding-inline: 0; }
  .faq__num { font-size: .95rem; }
  .faq__a { padding: 0 0 22px 52px; }
}

/* Quote CTA */
.quote { background: var(--paper); padding-block: clamp(56px, 7vw, 96px); border-top: 6px solid var(--yellow); }
.quote__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 48px; align-items: center; }
.quote h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 500; margin-bottom: 12px; }
.quote p { margin: 0; max-width: 56ch; }
.quote__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 899px) { .quote__inner { grid-template-columns: 1fr; } }
@media (max-width: 519px) { .quote__actions .btn { width: 100%; } }

/* Footer */
.site-footer { background: var(--black); color: #D9D3CC; padding-top: clamp(56px, 7vw, 88px); font-size: .95rem; }
.site-footer a { color: var(--yellow); }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer__brand img { width: 170px; margin-bottom: 18px; }
.footer__brand p { max-width: 34ch; font-weight: 500; color: #F0EBE5; }
.footer__label { font-family: var(--font-body); font-size: .9rem; font-weight: 500; color: #D9D3CC; margin-bottom: 10px; letter-spacing: 0; }
.footer__big { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; line-height: 1.2; color: var(--yellow); margin-bottom: 8px; }
.footer__big a { text-decoration: none; }
.footer__small { margin-bottom: 8px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .85rem; color: #B9B2AA; }
.footer__bottom p { margin: 0; }
@media (max-width: 999px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* Sticky quote button on phones */
.mobile-cta { display: none; }
@media (max-width: 699px) {
  body { padding-bottom: 72px; }
  .mobile-cta {
    display: flex; align-items: center; justify-content: center;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
    min-height: 52px; border-radius: var(--radius);
    background: var(--yellow); color: var(--ink); font-weight: 700; text-decoration: none;
    box-shadow: 0 10px 30px rgba(14, 12, 11, .3);
    transition: transform .25s, opacity .25s, visibility .25s;
  }
  .mobile-cta.is-hidden { transform: translateY(140%); opacity: 0; visibility: hidden; }
  .site-footer .mobile-cta, .site-footer .mobile-cta:hover { color: var(--ink); }
  .topbar__label { display: none; }
  .topbar__inner { justify-content: center; text-align: center; }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; }
}

@media print {
  .topbar, .site-header, .mobile-cta, .marquee, .hero__media { display: none !important; }
  .faq__a { display: block; }
}

/* Medios de pago: íconos en el color del pie (2026-10-18). */
.footer__pay { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 6px 0 0; padding: 0; }
.footer__pay li { display: inline-flex; color: #D9D3CC; }
.footer__pay svg { width: 24px; height: 24px; fill: currentColor; }
