@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600&display=swap');

/* Smart Edge Devices V2 Styles */
:root {
    --edge-dark: #09090b;
    --edge-card-dark: #121215;
    --edge-blue: #1983D9;
    --edge-light-bg: #ECF6FF;
    --edge-card-grey: #f8fafc;
    --edge-text: #ffffff;
    --edge-muted: #a1a1aa;
    --edge-font-heading: 'Graphik', sans-serif;
    --edge-font-body: 'Plus Jakarta Sans', sans-serif;
}

body {
    -webkit-font-smoothing: antialiased;
}

/* Global Typography */
.smart-edge-hero,
.smart-edge-customers,
.se-stats-section,
.se-execution-section,
.se-solutions-section,
.se-workspace-section,
.se-partners-section,
.se-commercials-section,
.se-faq-section,
.se-contact-dark {
    font-family: var(--edge-font-body);
}

h1,
h2,
h3,
h4,
.btn-outline,
.wpcf7-submit,
.se-mosaic-link {
    font-family: var(--edge-font-heading) !important;
}

p {
    font-family: var(--edge-font-body);
}


/* 1. Hero Section */
.smart-edge-hero {
    position: relative;
    color: var(--edge-text);
    padding: 0;
    height: 100vh;
    display: flex;
    align-items: center;
}

.smart-edge-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.smart-edge-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.smart-edge-hero h1 {
    font-size: 80px;
    line-height: 90px;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.smart-edge-hero h1 .text-blue {
    color: var(--edge-blue);
}

.smart-edge-hero p {
    font-size: 16px;
    line-height: 33px;
    color: #fff;
    max-width: 420px;
    font-weight: 400;
}

/* 2. Customers Grid */
.smart-edge-customers {
    background: var(--edge-light-bg);
    padding: 60px 0;
    text-align: center;
}

.smart-edge-customers h2 {
    font-size: 45px;
    font-weight: 500;
    line-height: 54px;
    letter-spacing: -2%;
    font-weight: 600;
    color: #000;
    margin-bottom: 40px;
}

/* Logo Carousel */
.logo-carousel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.logo-track-wrapper {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 48px;
    width: max-content;
    will-change: transform;
}

.logo-track.scroll-left {
    animation: marqueeLeft 40s linear infinite;
}

.logo-track.scroll-right {
    animation: marqueeRight 40s linear infinite;
}

.logo-track-wrapper:hover .logo-track {
    animation-play-state: paused;
}

@keyframes marqueeLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marqueeRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.partner-logo {
    height: 46px;
    max-width: 130px;
    object-fit: contain;
    flex-shrink: 0;
    filter: grayscale(100%) opacity(0.5);
    transition: filter 0.4s ease;
}

.partner-logo:hover {
    filter: grayscale(0%) opacity(1);
}

/* 3. Stats Section */
.se-stats-section {
    background: #000;
    color: #fff;
    padding: 100px 0;
}

.se-stats-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.se-stats-header h2 {
    font-size: 40px;
    font-weight: 500;
    line-height: 54px;
    letter-spacing: -2%;
    width: 45%;
    line-height: 1.2;
}

.se-stats-header p {
    width: 45%;
    color: var(--edge-muted);
    font-size: 16px;
    text-align: right;
}

.se-stats-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.se-stats-quote {
    width: 30%;
}

.se-stats-quote blockquote {
    font-size: 14px;
    font-style: italic;
    border-left: 3px solid var(--edge-blue);
    padding-left: 20px;
    margin-bottom: 30px;
}

.se-stats-quote p {
    color: var(--edge-muted);
    font-size: 14px;
}

.se-stats-image {
    width: 35%;
    border-radius: 16px;
    overflow: hidden;
}

.se-stats-image img {
    width: 100%;
    height: auto;
    display: block;
}

.se-stats-grid {
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.se-stat-card {
    background: var(--edge-card-dark);
    border-radius: 12px;
    padding: 18px 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px);
    animation: statFadeIn 0.5s ease forwards;
}

@keyframes statFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.se-stat-card:nth-child(1) {
    animation-delay: 0.1s;
}

.se-stat-card:nth-child(2) {
    animation-delay: 0.25s;
}

.se-stat-card:nth-child(3) {
    animation-delay: 0.4s;
}

.se-stat-card:nth-child(4) {
    animation-delay: 0.55s;
}

.se-stat-card:nth-child(5) {
    animation-delay: 0.7s;
}

.se-stat-number {
    font-size: 40px;
    font-weight: 500;
    line-height: 54px;
    letter-spacing: -2%;
    color: var(--edge-blue);
}

.se-stat-sep {
    width: 1px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
}

.se-stat-text {
    color: #e2e8f0;
    font-size: 16px;
}

/* 4. Execution Section */
.se-execution-section {
    background: #ffffff;
    padding: 100px 0;
}

.se-execution-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.se-execution-header h2 {
    font-size: 40px;
    font-weight: 500;
    line-height: 54px;
    letter-spacing: -2%;
    width: 45%;
    color: #000;
    line-height: 1.2;
}

.se-execution-header p {
    width: 45%;
    color: #5E5F61;
    font-size: 16px;
    text-align: right;
}

.se-execution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.se-exec-card {
    background: var(--edge-card-grey);
    border-radius: 16px;
    padding: 40px 30px;
    transition: background 0.3s ease, color 0.3s ease;
}

.se-exec-card:hover {
    background: var(--edge-blue);
    color: #fff;
}

.se-exec-card:hover h3 {
    color: #fff;
}

.se-exec-card:hover p {
    color: rgba(255, 255, 255, 0.85);
}

.se-exec-card:hover .se-exec-ico {
    filter: brightness(0) invert(1);
}

.se-exec-card.wide {
    grid-column: span 2;
}

.se-exec-card.primary {
    background: var(--edge-blue);
    color: #fff;
}

.se-exec-card.primary p {
    color: rgba(255, 255, 255, 0.9);
}

.se-exec-ico {
    margin-bottom: 20px;
    font-size: 24px;
}

.se-exec-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.se-exec-card p {
    color: #5E5F61;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.se-exec-action {
    text-align: center;
    margin-top: 50px;
}

.se-exec-action .btn-outline {
    border: 1px solid var(--edge-blue);
    color: #000;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 500;
    display: inline-block;
    transition: 0.3s;
    text-decoration: none;
}

.se-exec-action .btn-outline:hover {
    background: var(--edge-blue);
    color: #fff;
}

/* 5. Solutions Mosaic */
.se-solutions-section {
    background: #000;
    padding: 100px 0;
    text-align: center;
}

.se-solutions-section span.sub {
    color: var(--edge-blue);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    font-size: 40px;
}

.se-solutions-section h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    line-height: 54px;
    letter-spacing: -2%;
    margin-bottom: 60px;
}

.se-mosaic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Centred flex row for overflow cards (2nd row onwards) */
.se-mosaic-row-centered {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.se-mosaic-row-centered .se-mosaic-card {
    flex: 0 0 calc(25% - 15px);
    /* same width as a 4-col grid cell */
    max-width: calc(25% - 15px);
}

.se-mosaic-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 380px;
    padding: 30px;
    background-size: cover !important;
    background-position: center !important;
    display: block;
    /* Removed flex from card to let content container handle flex */
}

.se-mosaic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
    transition: all 0.4s ease;
}

.se-mosaic-card:hover::before {
    background: rgba(0, 0, 0, 0.9);
}

.se-mosaic-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    text-align: left;
}

.se-mosaic-card h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 400;
    margin: 0;
    text-align: left;
    transition: all 0.4s ease;
}

.se-mosaic-text {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.5;
    margin-top: 15px;
    margin-bottom: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.4s ease;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.se-mosaic-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #00b3a6;
    /* Matches the cyanish button in screenshot */
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-top: auto;
    align-self: flex-start;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.4s ease;
}

.se-mosaic-link:hover {
    background: #00998d;
    color: #fff;
    text-decoration: none;
}

.se-mosaic-card:hover .se-mosaic-text,
.se-mosaic-card:hover .se-mosaic-link {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.se-mosaic-card:hover h3 {
    font-size: 22px;
}

/* 6. Workspace Circle */
.se-workspace-section {
    background: #fff;
    padding: 100px 0;
    text-align: center;
}

.se-workspace-section h2 {
    font-size: 40px;
    font-weight: 500;
    line-height: 54px;
    letter-spacing: -2%;
    margin-bottom: 15px;
}

.se-workspace-section p {
    color: #5E5F61;
    margin-bottom: 60px;
}

.se-circle-wrap {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    min-height: 750px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.se-circle-center {
    width: 550px;
    border-radius: 50%;
    border: 1px solid #000;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.se-circle-center img {
    width: 94%;
}

/* Orbit ring — wraps all step cards, rotates as one unit */
@keyframes orbitRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Counter-rotate cards so text stays upright */
@keyframes counterCard {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}



.orbit-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: orbitRing 30s linear infinite;
    pointer-events: none;
    /* let clicks pass through to center */
}

.se-step-card {
    position: absolute;
    border-radius: 12px;
    padding: 20px;
    width: 260px;
    text-align: left;
    z-index: 10;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(234, 234, 234, 0.5);
    border-radius: 16px;
    pointer-events: all;
    /* re-enable for the cards themselves */
    animation: counterCard 30s linear infinite;
}

.se-step-card .icon {
    background: var(--edge-blue);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 14px;
}

.se-step-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
}

.se-step-card p {
    font-size: 12px;
    color: #5E5F61;
    line-height: 1.4;
    margin: 0;
}

/*
 * Positioning steps on a perfect circle.
 * Orbit radius R = 280px. 6 cards at 60° intervals.
 * Card size: 260px wide × ~130px tall  →  half-w=130px, half-h=65px
 *
 * Card top-left position:
 *   left = 50% + R·sin(θ) − 130px
 *   top  = 50% − R·cos(θ) − 65px
 *
 * sin/cos values (R=280):
 *   θ=0°   sin=0,    cos=1     →  x=0,    y=−280
 *   θ=60°  sin≈0.866,cos=0.5  →  x=+242, y=−140
 *   θ=120° sin≈0.866,cos=−0.5 →  x=+242, y=+140
 *   θ=180° sin=0,    cos=−1   →  x=0,    y=+280
 *   θ=240° sin≈−0.866,cos=−0.5→  x=−242, y=+140
 *   θ=300° sin≈−0.866,cos=0.5 →  x=−242, y=−140
 */
.step-1 {
    top: calc(50% - 280px - 65px);
    left: calc(50% - 130px);
}

/* 12 o'clock */
.step-2 {
    top: calc(50% - 140px - 65px);
    left: calc(50% + 242px - 130px);
}

/* 2 o'clock  */
.step-3 {
    top: calc(50% + 140px - 65px);
    left: calc(50% + 242px - 130px);
}

/* 4 o'clock  */
.step-4 {
    top: calc(50% + 280px - 65px);
    left: calc(50% - 130px);
}

/* 6 o'clock  */
.step-5 {
    top: calc(50% + 140px - 65px);
    left: calc(50% - 242px - 130px);
}

/* 8 o'clock  */
.step-6 {
    top: calc(50% - 140px - 65px);
    left: calc(50% - 242px - 130px);
}

/* 10 o'clock */

/* 7. Partners */
.se-partners-section {
    background: var(--edge-card-grey);
    padding: 80px 0;
    text-align: center;
}

.se-partners-section h2 {
    font-size: 40px;
    font-weight: 500;
    line-height: 54px;
    letter-spacing: -2%;
    margin-bottom: 50px;
}

.se-partner-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.se-partner-card {
    background: #fff;
    border-radius: 16px;
    width: 180px;
    padding: 30px 20px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.se-partner-card img {
    max-width: 80%;
    max-height: 60px;
    margin: auto 0;
}

.se-partner-card a {
    font-size: 12px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
}

.se-partner-card a span.arr {
    background: var(--edge-blue);
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

/* 8. Commercials */
.se-commercials-section {
    background: #000;
    padding: 100px 0;
    text-align: center;
    color: #fff;
}

.se-commercials-section h2 {
    font-size: 40px;
    font-weight: 500;
    line-height: 54px;
    letter-spacing: -2%;
    margin-bottom: 60px;
}

.se-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.se-pricing-card {
    background: var(--edge-card-dark);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.se-pricing-card:hover {
    background: var(--edge-blue);
    border-color: var(--edge-blue);
}

.se-pricing-card:hover h3,
.se-pricing-card:hover a {
    color: #fff;
}

.se-pricing-card:hover p {
    color: rgba(255, 255, 255, 0.85);
}

.se-pricing-card:hover .se-feature-list li {
    color: #fff;
}

.se-pricing-card:hover .se-feature-list li::before {
    color: #fff;
}

.se-pricing-card.primary {
    background: var(--edge-blue);
    border-color: var(--edge-blue);
}

.se-pricing-card.primary h3 {
    color: #fff;
}

.se-pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.2);
    font-size: 10px;
    padding: 4px 12px;
    border-radius: 20px;
}

.se-pricing-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 500;
}

.se-pricing-card p {
    font-size: 15px;
    color: var(--edge-muted);
    margin-bottom: 30px;
    min-height: 45px;
}

.se-pricing-card.primary p {
    color: rgba(255, 255, 255, 0.9);
}

.se-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.se-feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #cbd5e1;
}

.se-feature-list li::before {
    content: '✔';
    color: var(--edge-blue);
    margin-right: 10px;
    font-size: 12px;
}

.se-pricing-card.primary .se-feature-list li::before {
    color: #fff;
}

.se-pricing-card.primary .se-feature-list li {
    color: #fff;
}

.se-pricing-card a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* 9. FAQs */
.se-faq-section {
    background: var(--edge-light-bg);
    padding: 100px 0;
}

.se-faq-wrap {
    display: flex;
    gap: 60px;
}

.se-faq-left {
    width: 35%;
}

.se-faq-left h2 {
    font-size: 40px;
    font-weight: 500;
    line-height: 54px;
    letter-spacing: -2%;
    margin-bottom: 20px;
}

.se-faq-left p {
    color: #5E5F61;
}

.se-faq-right {
    width: 65%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.se-faq-item {
    background: #fff;
    border-radius: 12px;
    padding: 25px 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.se-faq-item-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 18px;
}

.se-faq-item-head span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #e1e8ed;
    background: #fff;
    transition: all 0.3s ease;
}

.se-faq-item-head span::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 2px solid #a1a1aa;
    border-bottom: 2px solid #a1a1aa;
    transform: translateY(-2px) rotate(45deg);
    transition: all 0.3s ease;
}

.se-faq-item.active .se-faq-item-head span {
    background: var(--edge-blue);
    border-color: var(--edge-blue);
}

.se-faq-item.active .se-faq-item-head span::after {
    border-color: #fff;
    transform: translateY(2px) rotate(225deg);
}

.se-faq-item-head span img {
    display: none;
}

.se-faq-content {
    display: none;
    margin-top: 15px;
    color: #5E5F61;
    font-size: 14px;
    line-height: 1.6;
}

/* 10. Contact Form Dark */
.se-contact-dark {
    background: #000;
    padding: 100px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.se-contact-dark::before {
    content: '';
    position: absolute;
    top: -19%;
    left: -8%;
    width: 600px;
    height: 800px;
    background: url('../images/smart-edge/Ellipse 1 .png') no-repeat center center;
    background-size: contain;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}

.se-contact-dark::after {
    content: '';
    position: absolute;
    top: -87px;
    right: 1%;
    width: 800px;
    height: 800px;
    background: url('../images/smart-edge/Ellipse 2.png') no-repeat center center;
    background-size: contain;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}

.se-contact-wrap {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.se-contact-left {
    width: 40%;
}

.se-contact-left h2 {
    font-size: 40px;
    font-weight: 500;
    line-height: 54px;
    letter-spacing: -2%;
    margin-bottom: 20px;
    font-weight: 500;
}

.se-contact-left p {
    color: var(--edge-muted);
    font-size: 16px;
    line-height: 1.6;
}

.se-contact-right {
    width: 60%;
}

/* CF7 Custom Overrides for Dark Mode */
.se-contact-right .wpcf7 form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;

    .form-group {
        p {
            width: 100% !important;
            margin-bottom: 0 !important;
        }

        br {
            display: none;
        }

    }
}

.se-contact-right .wpcf7 form>div.form-row,
.se-contact-right .wpcf7 form>div,
.se-contact-right .wpcf7 form>p {
    width: 100%;
    margin: 0;
    padding: 0;
}

.se-contact-right .wpcf7-form-control-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Pseudo-labels using CF7 data-name */
.se-contact-right .wpcf7-form-control-wrap[data-name]::before {
    color: #71717a;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

/* Map specific exact CF7 field names to labels */
.se-contact-right .wpcf7-form-control-wrap[data-name="full_name"]::before {
    content: "FULL NAME";
}

.se-contact-right .wpcf7-form-control-wrap[data-name="phone"]::before {
    content: "PHONE";
}

.se-contact-right .wpcf7-form-control-wrap[data-name="email"]::before {
    content: "EMAIL ADDRESS";
}

.se-contact-right .wpcf7-form-control-wrap[data-name="job_title"]::before {
    content: "JOB TITLE";
}

.se-contact-right .wpcf7-form-control-wrap[data-name="company"]::before {
    content: "COMPANY";
}

.se-contact-right .wpcf7-form-control-wrap[data-name="city"]::before {
    content: "CITY";
}

.se-contact-right .wpcf7-form-control-wrap[data-name="message"]::before {
    content: "MESSAGE";
}

/* Target half-width fields by evaluating whatever top-level wrapper CF7 is outputting (.form-row or p) */
.se-contact-right .wpcf7 form .form-row:has([data-name="full_name"]),
.se-contact-right .wpcf7 form .form-row:has([data-name="phone"]),
.se-contact-right .wpcf7 form .form-row:has([data-name="job_title"]),
.se-contact-right .wpcf7 form .form-row:has([data-name="company"]),
.se-contact-right .wpcf7 form p:has([data-name="full_name"]),
.se-contact-right .wpcf7 form p:has([data-name="phone"]),
.se-contact-right .wpcf7 form p:has([data-name="job_title"]),
.se-contact-right .wpcf7 form p:has([data-name="company"]) {
    width: calc(50% - 10px);
}

.se-contact-right label {
    display: none;
}

.se-contact-right input[type="text"],
.se-contact-right input[type="email"],
.se-contact-right input[type="tel"],
.se-contact-right textarea {
    width: 100%;
    background: #1a1a1f;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}

.se-contact-right input:focus,
.se-contact-right textarea:focus {
    border-color: var(--edge-blue);
}

.se-contact-right textarea {
    min-height: 120px;
    resize: vertical;
}

.se-contact-right .wpcf7-submit {
    background: var(--edge-blue);
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.se-contact-right .wpcf7-submit:hover {
    background: #0093cc;
}

/* Responsive basics */
@media(max-width: 1024px) {
    .smart-edge-hero h1 {
        font-size: 56px;
        line-height: 1.1;
        margin-bottom: 25px;
    }

    .se-contact-dark::before {
        width: 100%;
        opacity: 0.5;
    }

    .se-contact-dark::after {
        width: 100%;
        opacity: 0.5;
    }
}

@media(max-width: 991px) {

    .se-stats-header,
    .se-stats-body,
    .se-execution-header,
    .se-faq-wrap,
    .se-contact-wrap {
        flex-direction: column;
        gap: 30px;
    }

    .se-stats-header h2,
    .se-stats-header p,
    .se-stats-quote,
    .se-stats-image,
    .se-stats-grid,
    .se-execution-header h2,
    .se-execution-header p,
    .se-faq-left,
    .se-faq-right,
    .se-contact-left,
    .se-contact-right {
        width: 100%;
        text-align: left;
    }

    .se-execution-grid,
    .se-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .se-mosaic-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .se-mosaic-row-centered .se-mosaic-card {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    .se-exec-card.wide {
        grid-column: span 2;
    }

    .se-circle-wrap {
        min-height: 620px;
    }

    .se-circle-center {
        width: 300px;
        height: 300px;
    }

    .se-step-card {
        width: 190px;
        padding: 14px;
    }

    /* Recalculate equal-circle positions for tablet.
     * Circle 300px → R = 200px (orbit radius to card centre)
     * Card: 190px wide (half=95px), ~110px tall (half=55px)
     * sin60=0.866→173px, cos60=0.5→100px
     */
    .step-1 {
        top: calc(50% - 200px - 55px);
        left: calc(50% - 95px);
    }

    .step-2 {
        top: calc(50% - 100px - 55px);
        left: calc(50% + 173px - 95px);
    }

    .step-3 {
        top: calc(50% + 100px - 55px);
        left: calc(50% + 173px - 95px);
    }

    .step-4 {
        top: calc(50% + 200px - 55px);
        left: calc(50% - 95px);
    }

    .step-5 {
        top: calc(50% + 100px - 55px);
        left: calc(50% - 173px - 95px);
    }

    .step-6 {
        top: calc(50% - 100px - 55px);
        left: calc(50% - 173px - 95px);
    }
}

@media(max-width: 767px) {
    .smart-edge-hero {
        height: 70vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .smart-edge-hero h1 {
        font-size: 40px;
        line-height: 1.15;
        letter-spacing: -1px;
        margin-bottom: 20px;
    }

    .smart-edge-hero p {
        font-size: 15px;
        line-height: 1.5;
    }

    .se-execution-grid,
    .se-mosaic-grid,
    .se-pricing-grid {
        grid-template-columns: 1fr;
    }

    .se-mosaic-row-centered {
        flex-direction: column;
        align-items: stretch;
    }

    .se-mosaic-row-centered .se-mosaic-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .se-exec-card.wide {
        grid-column: span 1;
    }

    .se-stats-header h2,
    .se-execution-header h2,
    .se-solutions-section h2,
    .se-workspace-section h2,
    .se-commercials-section h2,
    .se-faq-left h2,
    .se-contact-left h2 {
        font-size: 32px;
    }

    .se-execution-header h2 {
        line-height: 34px;
    }

    .se-solutions-section h2 {
        line-height: 32px;
    }

    .se-workspace-section h2 {
        line-height: 35px;
    }

    .se-commercials-section h2 {
        line-height: 35px;
    }

    .se-faq-left h2 {
        line-height: 35px;
    }

    /* Stack Workspace Circle entirely */
    .se-circle-wrap {
        display: flex;
        flex-direction: column;
        padding: 0;
        min-height: auto;
        gap: 15px;
    }

    .se-circle-center {
        display: none;
        /* Hide the central circle on mobile as it takes up too much room */
    }

    /* Disable orbit animation on mobile — stack cards as a list */
    .orbit-ring {
        position: relative;
        animation: none;
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        height: auto;
    }

    .se-step-card {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        animation: none !important;
        width: 100%;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    }

    /* Contact form full width on mobile */
    .se-contact-right .wpcf7 form .form-row:has([data-name]),
    .se-contact-right .wpcf7 form p:has([data-name]) {
        width: 100%;
    }

    .se-partner-card {
        width: calc(50% - 10px);
    }

    .se-contact-dark::before,
    .se-contact-dark::after {
        display: none;
        /* Hide on mobile to prioritize form legibility */
    }
}