:root {
    --friolisa-red: #cf1020;
    --friolisa-red-dark: #a90d1a;
    --friolisa-dark: #222;
    --friolisa-text: #4f4f4f;
    --friolisa-gray: #666;
    --friolisa-border: #e5e5e5;
    --friolisa-light: #f6f6f6;
    --friolisa-bg: #f3f3f3;
    --friolisa-white: #fff;
    --max-width: 1180px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--friolisa-dark);
    background: var(--friolisa-white);
    line-height: 1.45;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

p {
    color: var(--friolisa-text);
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.section {
    padding: 72px 0;
}

.kicker {
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--friolisa-red);
}

.card {
    background: var(--friolisa-white);
    border: 1px solid var(--friolisa-border);
    border-radius: var(--radius-md);
}

/* HEADER */
.site-header {
    background: #f2f2f2;
    position: relative;
}

.header-top {
    position: relative;
    padding: 14px 0 18px;
    overflow: hidden;
}

.header-top::before {
    content: "";
    position: absolute;
    left: -220px;
    top: -160px;
    width: 700px;
    height: 320px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: rotate(8deg);
    pointer-events: none;
}

.header-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    min-height: 132px;
}

.header-search {
    display: flex;
    align-items: end;
    gap: 10px;
    max-width: 290px;
}

.header-search input {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #9f9f9f;
    background: transparent;
    padding: 8px 0;
    font-size: 14px;
    font-style: italic;
    color: #666;
    border-radius: 0;
    box-shadow: none;
}

.header-search input:focus {
    outline: none;
    border-bottom-color: var(--friolisa-red);
}

.search-icon {
    font-size: 22px;
    line-height: 1;
    color: #444;
    margin-bottom: 6px;
}

.header-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-logo-image {
    width: 120px;
    height: auto;
    display: block;
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 14px;
}

.header-login {
    text-decoration: underline;
    color: #222;
}

.header-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 142px;
    padding: 11px 22px;
    border-radius: 999px;
    background: var(--friolisa-red);
    color: #fff;
    font-weight: 700;
}

.header-client-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 2px solid var(--friolisa-red);
    background: #fff;
    color: var(--friolisa-red);
    font-weight: 700;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.header-client-btn:hover {
    background: var(--friolisa-red);
    color: #fff;
    transform: translateY(-1px);
}

.header-lang {
    color: #888;
    font-weight: 700;
}

.main-nav {
    background: linear-gradient(90deg, #d60011, #c40012, #d60011);
    color: #fff;
}

.nav-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px 34px;
    min-height: 46px;
    font-weight: 700;
}

.main-nav a {
    display: inline-block;
    padding: 12px 0;
    color: #fff;
}

/* HERO */
.hero {
    position: relative;
    overflow: hidden;
    padding: 52px 0 64px;
    border-top: 5px solid var(--friolisa-red);
    background:
        linear-gradient(rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.95)),
        radial-gradient(circle at top left, rgba(207, 16, 32, 0.12), transparent 38%),
        linear-gradient(135deg, #fff5f5, #f7f7f7);
}

.hero::after {
    content: "";
    position: absolute;
    left: 24px;
    bottom: 0;
    width: 140px;
    height: 4px;
    background: var(--friolisa-red);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 42px;
    align-items: start;
}

.hero h1 {
    max-width: 760px;
    margin-bottom: 18px;
    font-size: 48px;
    line-height: 1.06;
    color: var(--friolisa-dark);
}

.hero-intro {
    max-width: 720px;
    margin-bottom: 16px;
    font-size: 18px;
    color: #444;
}

.hero-note {
    max-width: 620px;
    margin-bottom: 28px;
    font-size: 16px;
    color: var(--friolisa-gray);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.step {
    padding: 18px;
    border: 1px solid var(--friolisa-border);
    border-top: 3px solid var(--friolisa-red);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.95);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-bottom: 10px;
    border-radius: 50%;
    background: var(--friolisa-red);
    color: var(--friolisa-white);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 0 0 4px rgba(207, 16, 32, 0.1);
}

.step strong {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    color: var(--friolisa-dark);
}

.step p {
    margin-bottom: 0;
    font-size: 14px;
    color: var(--friolisa-gray);
}

.form-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(207, 16, 32, 0.14);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 18px;
}

.form-card h2 {
    margin-bottom: 10px;
    font-size: 28px;
    line-height: 1.12;
}

.form-lead {
    margin-bottom: 22px;
    font-size: 15px;
    color: var(--friolisa-gray);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.field,
.field-full {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-full {
    grid-column: 1 / -1;
}

label {
    font-size: 13px;
    font-weight: 700;
    color: #444;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #d7d7d7;
    border-radius: 6px;
    font: inherit;
    font-size: 14px;
    background: var(--friolisa-white);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--friolisa-red);
    box-shadow: 0 0 0 3px rgba(207, 16, 32, 0.12);
}

.checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 10px;
    font-size: 13px;
    color: #555;
}

.checkbox input {
    width: auto;
    margin-top: 2px;
    flex: 0 0 auto;
}

.form-actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.btn-primary {
    appearance: none;
    border: 0;
    border-radius: 999px;
    background: var(--friolisa-red);
    color: var(--friolisa-white);
    font-size: 15px;
    font-weight: 700;
    padding: 14px 18px;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 10px 24px rgba(207, 16, 32, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--friolisa-red-dark);
    box-shadow: 0 14px 28px rgba(207, 16, 32, 0.3);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 8px 18px rgba(207, 16, 32, 0.18);
}

.microcopy {
    margin-bottom: 0;
    font-size: 13px;
    color: var(--friolisa-gray);
}

.form-message {
    min-height: 20px;
    margin: 2px 0 0;
    font-size: 14px;
    font-weight: 700;
}

/* INFO */
.section h2 {
    margin-bottom: 18px;
    font-size: 34px;
    line-height: 1.15;
}

.section p {
    margin-bottom: 16px;
    font-size: 16px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
    align-items: start;
}

.highlight-box {
    padding: 24px;
    border: 1px solid rgba(207, 16, 32, 0.14);
    border-left: 6px solid var(--friolisa-red);
    border-radius: 10px;
    background: linear-gradient(180deg, #fff8f8, #fff);
}

.highlight-box h3 {
    margin-bottom: 14px;
    font-size: 24px;
    color: var(--friolisa-dark);
}

.highlight-box ul {
    margin: 0;
    padding-left: 20px;
    color: var(--friolisa-text);
}

.highlight-box li {
    margin-bottom: 10px;
}

/* TRUST */
.trust-block {
    background: linear-gradient(180deg, #fff, #fcf5f5);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.trust-card {
    padding: 24px 20px;
    border-top: 3px solid var(--friolisa-red);
    text-align: center;
}

.trust-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 32px;
    color: var(--friolisa-red);
    line-height: 1;
}

.trust-card span {
    display: block;
    font-size: 15px;
    color: #555;
}

/* CONTACT BAND */
.contact-band {
    background: linear-gradient(135deg, var(--friolisa-red), var(--friolisa-red-dark));
    color: var(--friolisa-white);
}

.contact-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 28px 0;
}

.contact-copy h2 {
    margin-bottom: 6px;
    font-size: 30px;
    color: var(--friolisa-white);
}

.contact-copy p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.92);
}

.phones {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    font-size: 30px;
    font-weight: 700;
}

/* LOCATIONS */
.locations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
}

.location-card {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    padding: 22px;
    border-radius: 14px;
    display: flex;
    align-items: end;
    color: var(--friolisa-white);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.location-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.62));
}

.location-card>div {
    position: relative;
    z-index: 1;
}

.location-card h3 {
    margin-bottom: 6px;
    font-size: 28px;
}

.location-card p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.92);
}

.location-vilafant {
    background-image: url("vilafant.jpg");
}

.location-mercabarna {
    background-image: url("mercabarna.jpg");
}

/* FOOTER */
.site-footer {
    background: var(--friolisa-bg);
    border-top: 1px solid #e0e0e0;
}

.footer-main {
    padding: 52px 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 54px;
    align-items: start;
}

.footer-left {
    max-width: 360px;
}

.footer-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(110px, 1fr));
    gap: 12px 18px;
    margin-bottom: 14px;
    align-items: center;
}

.footer-badge {
    height: 54px;
    border-radius: 12px;
    border: 1px solid #cfcfcf;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #666;
    text-align: center;
    padding: 8px;
    font-size: 13px;
}

.footer-badge.red {
    color: #d11b1f;
}

.footer-badge.gold {
    color: #b9861f;
}

.footer-place {
    margin: 6px 0 18px;
    font-size: 13px;
    color: #667;
}

.footer-company {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 14px;
}

.footer-address,
.footer-contact {
    font-size: 15px;
    color: #334;
    margin-bottom: 10px;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 54px;
}

.footer-title {
    margin-bottom: 14px;
    font-size: 18px;
    font-weight: 700;
    color: #1d2d44;
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links a {
    font-size: 15px;
    color: #334;
}

.footer-strong-links {
    display: grid;
    gap: 12px;
    margin-top: 4px;
}

.footer-strong-links a {
    font-size: 18px;
    font-weight: 700;
    color: #1d2d44;
}

.footer-bottom {
    background: linear-gradient(90deg, #2d2d2d, #242424);
    color: #fff;
    font-size: 15px;
}

.footer-bottom .container {
    padding-top: 18px;
    padding-bottom: 18px;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    line-height: 1.6;
}

.footer-legal a {
    color: #fff;
}

.footer-legal span {
    opacity: 0.8;
    padding: 0 6px;
}

/* RESPONSIVE */
@media (max-width: 1100px) {

    .hero-grid,
    .info-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-columns {
        grid-template-columns: 1fr 1fr;
    }

    .form-card {
        position: static;
    }
}

@media (max-width: 900px) {
    .header-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .header-search {
        max-width: 100%;
        margin: 0 auto;
    }

    .header-actions {
        justify-content: center;
    }

    .steps,
    .trust-grid,
    .locations-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .hero {
        padding-top: 42px;
        padding-bottom: 52px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .section {
        padding: 56px 0;
    }

    .section h2,
    .contact-copy h2 {
        font-size: 28px;
    }

    .form-grid,
    .steps,
    .trust-grid,
    .locations-grid,
    .footer-columns,
    .footer-badges {
        grid-template-columns: 1fr;
    }

    .phones {
        font-size: 24px;
    }

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .nav-inner {
        justify-content: flex-start;
    }
}

.container.hero-grid::before,
.container.info-grid::before {
    content: none;
}

.hero {
    padding-top: 70px;
}

.hero-desc {
    width: 100%;
    margin-bottom: 28px;
}

.hero-desc p {
    max-width: 620px;
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--friolisa-gray);
}

.hero-desc strong {
    font-weight: normal;
    color:#444;
    font-size: 18px;
}

.form-message.message-ok {
    color: #1c7c36;
}

.form-message.message-ko {
    color: #cf1020;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'robotocondensed-light';
}

p, ul>li, ol>li, span, label, input, select, textarea, a, button {
    font-family: 'PublicSans-Regular';
}

strong, label {
    font-family: 'PublicSans-SemiBold';
}