/*
 * ShipGator: one landing page, English and Spanish.
 * Colors come from the logo: green (the gator mark) and coral (the wordmark).
 * Phone first: the base rules are for phones; wider screens are added in the
 * min-width blocks at the end. "Reduce motion" turns off smooth scrolling and
 * hover movement.
 */

/* ==================== Tokens ==================== */
:root {
    --dark: #0f2318;          /* headings, footer, dark buttons */
    --dark-700: #16331f;
    --green: #35cc42;         /* logo mark */
    --green-600: #269a31;
    --green-100: #d9f5dc;
    --green-50: #f0fbf1;
    --coral: #f15c6b;         /* logo wordmark */
    --coral-700: #ec2438;
    --ink: #17241c;
    --muted: #57675b;
    --line: #dde6de;
    --soft: #f4f9f4;
    --error: #c62828;
    --success: #1f7a3d;
    --radius: 18px;
    --shadow: 0 1px 2px rgb(15 35 24 / 6%), 0 8px 24px rgb(15 35 24 / 8%);
    --shadow-lg: 0 2px 6px rgb(15 35 24 / 8%), 0 24px 48px rgb(15 35 24 / 14%);
    --gutter: 16px;
    --header: 68px;
    --display: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ==================== Base ==================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 12px); }
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}
body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
picture { display: contents; }
h1, h2, h3 { margin: 0; color: var(--dark); line-height: 1.15; }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
h3 { font: 700 19px/1.3 var(--display); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--coral-700); }
a:hover { color: var(--coral); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
blockquote, figure { margin: 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    padding: 10px 16px; border-radius: 8px; background: var(--dark); color: #fff; font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }
.icon { flex: none; }

/* ==================== Buttons ==================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 22px;
    border: 2px solid transparent; border-radius: 999px;
    font: 700 16px/1.2 var(--sans); text-align: center; text-decoration: none;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s;
}
.btn--primary { background: var(--green); color: var(--dark); box-shadow: 0 6px 18px rgb(53 204 66 / 35%); }
.btn--primary:hover { background: var(--green-600); color: #fff; }
.btn--primary:disabled { background: #a3e0ac; box-shadow: none; cursor: default; }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: var(--dark-700); color: #fff; }
.btn--outline { border-color: var(--dark); color: var(--dark); background: #fff; }
.btn--outline:hover { background: var(--dark); color: #fff; }
.btn--sm { min-height: 42px; padding: 8px 16px; font-size: 15px; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 17px; }
.btn--block { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
    .btn--primary:not(:disabled):hover { transform: translateY(-1px); }
}

/* ==================== Header ==================== */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgb(255 255 255 / 94%);
    border-bottom: 1px solid var(--line);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
}
.site-header__inner { display: flex; align-items: center; gap: 12px; height: var(--header); }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; color: var(--dark); text-decoration: none; }
.brand__logo { width: auto; height: 32px; }
.brand__tag { color: var(--muted); font-size: 12.5px; font-weight: 500; letter-spacing: .02em; white-space: nowrap; }
.brand:hover { color: var(--dark); }

.site-nav { display: none; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav a {
    display: block; padding: 8px 12px; border-radius: 8px;
    color: var(--ink); font-size: 15.5px; font-weight: 500; text-decoration: none;
}
.site-nav a:hover { background: var(--soft); color: var(--dark); }

/* EN | ES: two links styled as a switch; the current language is filled. */
.lang-toggle { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); }
.lang-toggle a {
    display: grid; place-items: center; min-width: 38px; height: 32px; padding: 0 8px;
    border-radius: 999px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-decoration: none;
}
.lang-toggle a:hover { color: var(--dark); }
.lang-toggle a[aria-current] { background: var(--dark); color: #fff; }

.header-cta { display: none; }

/* ==================== Shared section parts ==================== */
.section { padding: 64px 0; }
.section--soft { background: var(--soft); }
.section__head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section__head h2 { font-size: clamp(30px, 6vw, 44px); }
.section__head p:not(.kicker) { margin-top: 14px; color: var(--muted); font-size: 18px; }
.kicker, .eyebrow {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
    color: var(--coral-700); font-size: 13.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.eyebrow {
    padding: 6px 14px; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgb(15 35 24 / 10%);
    letter-spacing: .04em; text-transform: none; font-size: 14px;
}
.eyebrow .icon { color: var(--green-600); }

/* ==================== Hero ==================== */
.hero {
    position: relative; overflow: hidden;
    padding: 36px 0 56px;
    background:
        radial-gradient(60% 50% at 100% 0%, rgb(53 204 66 / 18%), transparent 70%),
        radial-gradient(45% 45% at 0% 55%, rgb(238 88 58 / 10%), transparent 70%),
        linear-gradient(180deg, var(--green-50), #fff 92%);
}
.hero__inner { display: grid; gap: 40px; }
.hero h1 { font-size: clamp(38px, 10vw, 60px); line-height: 1.05; }
.hero h1 em { color: var(--coral); font-style: normal; }
.hero__text { max-width: 560px; margin-top: 18px; color: var(--muted); font-size: 18.5px; }
.hero__actions { display: grid; gap: 12px; margin-top: 28px; }
.hero__trust { display: grid; gap: 8px; margin-top: 26px; color: var(--dark); font-size: 15.5px; font-weight: 500; }
.hero__trust li { display: flex; align-items: center; gap: 10px; }
.hero__trust .icon { color: var(--green-600); }

.hero__media { position: relative; padding: 0 0 46px; }
.hero__photo { overflow: hidden; border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__feature {
    position: absolute; left: 12px; right: 12px; bottom: 0;
    display: flex; align-items: center; gap: 10px; max-width: 360px; padding: 14px 18px;
    border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg);
    color: var(--dark); font: 600 15.5px/1.35 var(--sans);
}
.hero__feature .icon { flex: none; color: var(--green-600); }

/* ==================== Services ==================== */
.services { display: grid; gap: 24px; }
.service {
    display: flex; flex-direction: column; overflow: hidden;
    border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
}
.service__photo { position: relative; aspect-ratio: 4 / 3; background: var(--line); }
.service__photo img { width: 100%; height: 100%; object-fit: cover; }
.service__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px 22px 24px; }
.service__body h3 { font-size: 21px; }
.service__text { color: var(--muted); flex: 1; }
.service__cta { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 4px; font-weight: 700; text-decoration: none; }
.service__cta:hover { text-decoration: underline; }

/* ==================== Benefits (differentiators) ==================== */
.benefits__list { display: grid; gap: 16px; }
.benefit {
    display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-content: start;
    padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.benefit__icon {
    grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px;
    border-radius: 14px; background: var(--green-100); color: var(--green-600);
}
.benefit p { color: var(--muted); font-size: 15.5px; }

/* ==================== About ==================== */
.about { display: grid; gap: 32px; align-items: center; }
.about__media picture, .about__media img {
    display: block; width: 100%; height: auto; border-radius: 24px; box-shadow: var(--shadow-lg); object-fit: cover;
}
.about__copy p:not(.kicker) { margin-top: 14px; color: var(--muted); font-size: 17.5px; }
.about__highlights { display: grid; gap: 10px; margin-top: 22px; }
.about__highlights li { display: flex; align-items: center; gap: 10px; color: var(--dark); font-weight: 600; }
.about__highlights .icon { color: var(--green-600); }

/* ==================== Contact ==================== */
.section--contact { background: linear-gradient(180deg, var(--green-50), #fff 70%); }
.contact { display: grid; gap: 32px; }
.contact__intro > p:not(.kicker) { margin-top: 14px; color: var(--muted); font-size: 18px; }
.contact-list { display: grid; gap: 10px; margin-top: 26px; }
.contact-list a {
    display: flex; align-items: center; gap: 14px; padding: 12px 16px;
    border: 1px solid var(--line); border-radius: 14px; background: #fff;
    color: var(--dark); font-size: 17px; font-weight: 700; text-decoration: none; overflow-wrap: anywhere;
    transition: border-color .2s, box-shadow .2s;
}
.contact-list a:hover { border-color: var(--green); box-shadow: var(--shadow); color: var(--dark); }
.contact-list small { display: block; color: var(--muted); font-size: 13.5px; font-weight: 500; }
.contact-list__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--dark); color: #fff; }
.address-card {
    margin-top: 22px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px;
    background: #fff; color: var(--muted); font-size: 15px;
}
.address-card__title { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; color: var(--dark); font-weight: 700; }
.address-card__title .icon { color: var(--coral); }
.address-card__hours { margin-top: 8px; }

.form-card {
    padding: 24px 18px; border: 1px solid var(--line); border-radius: 22px;
    background: #fff; box-shadow: var(--shadow-lg);
}
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { color: var(--dark); font-size: 15px; font-weight: 700; }
.req { color: var(--coral-700); }
.field input,
.field textarea {
    width: 100%; padding: 12px 14px;
    border: 1.5px solid #c9d6cc; border-radius: 12px; background: #fff;
    color: var(--ink); font: 16px/1.4 var(--sans);
    transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder,
.field textarea::placeholder { color: #7c8d80; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 4px rgb(53 204 66 / 18%); }
.field__error { color: var(--error); font-size: 14px; }
.field__error:empty { display: none; }
.field.has-error input,
.field.has-error textarea { border-color: var(--error); }
.field--turnstile { min-height: 65px; }
.form__note { color: var(--muted); font-size: 13.5px; text-align: center; }
.form-status { font-size: 16px; font-weight: 700; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); }
.form-status.is-success {
    padding: 14px 16px; border-radius: 12px; background: #e3f6ea; color: var(--success);
}
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ==================== 404 ==================== */
.not-found { text-align: center; }
.not-found .container { max-width: 640px; }
.not-found__code { color: var(--green); font: 800 96px/1 var(--display); }
.not-found h1 { margin-top: 8px; font-size: 40px; }
.not-found p:not(.not-found__code) { margin: 14px 0 28px; color: var(--muted); font-size: 18px; }

/* ==================== Footer ==================== */
.site-footer { padding: 48px 0 28px; background: var(--dark); color: rgb(255 255 255 / 80%); font-size: 15.5px; }
.site-footer__inner { display: grid; gap: 32px; }
.site-footer__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.site-footer__brand img { width: auto; height: 44px; }
.site-footer__tagline { color: #fff; font: 700 19px/1.3 var(--display); }
.site-footer h2 { margin-bottom: 12px; color: #fff; font: 700 13.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.site-footer__contact ul { display: grid; gap: 10px; }
.site-footer__contact a,
.site-footer__address { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.site-footer__contact a:hover { color: var(--green); }
.site-footer__contact .icon { color: var(--green); flex: none; }
.social-links { display: flex; gap: 10px; }
.social-links a {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
    background: rgb(255 255 255 / 10%); color: #fff; transition: background-color .2s, color .2s;
}
.social-links a:hover { background: var(--green); color: var(--dark); }
.site-footer__legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / 14%); font-size: 13.5px; }

/* ==================== Phone action bar ==================== */
.action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgb(255 255 255 / 96%); box-shadow: 0 -6px 20px rgb(15 35 24 / 14%);
    transition: transform .25s;
}
.action-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px;
    border-radius: 12px; font-size: 13.5px; font-weight: 700; line-height: 1.1; text-decoration: none;
}
.action-bar__email { background: var(--dark); color: #fff; }
.action-bar__cta { background: var(--green); color: var(--dark); }
.action-bar a:hover { filter: brightness(1.08); }
.action-bar__email:hover { color: #fff; }
/* Hidden while the contact form is on screen (main.js), so it never covers
   the form's button or the keyboard. */
.action-bar.is-hidden { transform: translateY(110%); }
body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
@media (prefers-reduced-motion: reduce) {
    .action-bar { transition: none; }
}

/* ==================== Narrowest phones (320–359 px) ==================== */
@media (max-width: 359px) {
    .site-header__inner { gap: 8px; }
    .brand { gap: 8px; }
    .brand__logo { height: 28px; }
    .btn--lg { padding-inline: 16px; }
}
/* The tagline needs ~400 px next to the logo and the EN/ES toggle. */
@media (max-width: 399px) {
    .brand__tag { display: none; }
}

/* ==================== Wider screens ==================== */
@media (min-width: 480px) {
    .action-bar a { flex-direction: row; gap: 8px; min-height: 48px; font-size: 15px; }
}

@media (min-width: 560px) {
    :root { --gutter: 24px; }
    .hero__actions { display: flex; flex-wrap: wrap; }
    .benefits__list { grid-template-columns: 1fr 1fr; }
    .benefit { grid-template-columns: 1fr; }
    .benefit__icon { grid-row: auto; margin-bottom: 10px; }
    .form__row { grid-template-columns: 1fr 1fr; }
    .form-card { padding: 32px 30px; }
    .hero__feature { left: 20px; right: auto; }
}

@media (min-width: 760px) {
    :root { --header: 76px; }
    body { padding-bottom: 0; }
    .action-bar { display: none; }
    .section { padding: 88px 0; }
    .brand__logo { height: 36px; }
    .header-cta { display: inline-flex; }
    .services { grid-template-columns: 1fr 1fr; gap: 28px; }
    .about { grid-template-columns: 1fr 1fr; }
    .site-footer__inner { grid-template-columns: 1.2fr 1fr 1fr; align-items: start; }
}

@media (min-width: 960px) {
    .hero { padding: 64px 0 88px; }
    .hero__inner { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px; }
    .hero__media { padding: 0 0 0 24px; }
    .hero__feature { left: -16px; bottom: 28px; }
    .benefits__list { grid-template-columns: repeat(4, 1fr); }
    .contact { grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
    .contact__intro { position: sticky; top: calc(var(--header) + 32px); }
    .form-card { padding: 40px; }
}

@media (min-width: 1100px) {
    .site-nav { display: block; margin-right: 8px; }
    .site-header__inner { gap: 14px; }
}
